dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which tries to guess your system dnl configuration so that no manual editing of the Makefile should be dnl necessary dnl dnl $Id: configure.in,v 1.13 2020/12/12 03:54:59 root Exp $ dnl AC_INIT(uulib.c) AC_PREREQ(2.9) AC_CONFIG_HEADER(config.h) # # package revision # VERSION=0.5 PATCH=20 AC_ARG_WITH(cc,,CC=$with_cc) AC_ARG_WITH(cflags,,CFLAGS=$with_cflags) AC_PROG_CC AC_PROG_CPP AC_PROG_MAKE_SET AC_PROG_RANLIB # # Checks for header files and library functions # AC_HEADER_STDC AC_TYPE_SIZE_T AC_HEADER_TIME AC_CHECK_HEADERS(fcntl.h unistd.h memory.h malloc.h errno.h) AC_CHECK_HEADERS(io.h sys/time.h) CFLAGS="$CFLAGS -D_GNU_SOURCE" AC_CHECK_FUNCS(tempnam gettimeofday flockfile getc_unlocked feof_unlocked ferror_unlocked) dnl AC_CHECK_FUNCS(strcasecmp strncasecmp strcasestr) AC_CHECK_FUNCS(chmod umask mkstemp) # # On some systems (so far, OS2 and WINDOWS), functions that are exported # from a DLL must be declared specifically. # AC_DEFINE_UNQUOTED(UUEXPORT,) AC_DEFINE_UNQUOTED(TOOLEXPORT,) # # set version number # AC_MSG_CHECKING([version number]) version_number="$VERSION"pl"$PATCH" AC_MSG_RESULT($version_number) AC_SUBST(VERSION) AC_SUBST(PATCH) # # done # AC_OUTPUT(Makefile)