dnl Process this file with autoconf to produce a configure script. AC_INIT(src/queue.c) cat <<'EOF' ********************** * * * Configuring REMIND * * * ********************** EOF AC_CONFIG_HEADER(src/config.h) dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PATH_PROG([PERL], [perl]) dnl Checks for libraries. dnl Replace `main' with a function in -lm: AC_CHECK_LIB(m, sqrt) dnl Integer sizes AC_CHECK_SIZEOF(unsigned short) AC_CHECK_SIZEOF(unsigned int) AC_CHECK_SIZEOF(unsigned long) dnl Checks for header files. AC_CHECK_HEADERS(sys/types.h sys/file.h glob.h wctype.h locale.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_STRUCT_TM dnl Checks for library functions. AC_FUNC_UTIME_NULL AC_HEADER_TIME if test "$GCC" = yes; then CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes" fi AC_CHECK_FUNCS(setenv unsetenv glob mbstowcs setlocale initgroups) VERSION=03.03.12 AC_SUBST(VERSION) AC_SUBST(PERL) AC_OUTPUT(src/Makefile www/Makefile src/version.h rem2html/Makefile rem2pdf/Makefile.PL rem2pdf/Makefile.top)