dnl Process this file with autoconf to produce a configure script. AC_INIT(src/act.comm.c) AC_SUBST(MYFLAGS) AC_CONFIG_HEADER(src/conf.h) dnl Checks for programs. AC_PROG_CC if test $ac_cv_prog_gcc = yes; then MYFLAGS="-Wall" else MYFLAGS="" fi AC_CHECK_PROGS(MORE, more cat) dnl Checks for libraries. AC_CHECK_LIB(socket) AC_CHECK_LIB(nsl, gethostbyaddr) AC_CHECK_LIB(malloc, malloc) AC_CHECK_LIB(crypt, crypt) dnl Checks for header files. AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h sys/fcntl.h errno.h net/errno.h string.h) AC_CHECK_HEADERS(limits.h sys/time.h sys/select.h unistd.h) AC_CHECK_HEADERS(memory.h crypt.h assert.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME dnl Checks for library functions. AC_TYPE_SIGNAL dnl This is of little use because without these funcs we're dead anyway dnl AC_CHECK_FUNCS(gettimeofday select socket strstr) AC_CHECK_FUNCS(crypt) AC_REPLACE_FUNCS(random) AC_OUTPUT(src/Makefile)