dnl Process this file with autoconf to produce a configure script. AC_INIT(policyd.c) AM_INIT_AUTOMAKE(policyd, 1.0.1) dnl Weird Unix variants AC_AIX AC_MINIX dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PROG_RANLIB AC_PROG_LIBTOOL dnl More weird Unix variants AC_ISC_POSIX AC_C_CONST AC_C_INLINE AC_TYPE_PID_T AC_TYPE_SIZE_T AC_C_VOLATILE AC_C_BIGENDIAN AC_C_INLINE AC_C_CHAR_UNSIGNED dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T AC_HEADER_TIME AC_HEADER_STDC dnl AC_CHECK_SIZEOF(int) dnl AC_CHECK_SIZEOF(unsigned long) dnl Checks for header files. AC_CHECK_HEADERS(string.h time.h sys/time.h sys/types.h unistd.h) AC_CHECK_HEADERS(errno.h stdarg.h getopt.h ctype.h syslog.h) dnl AC_CHECK_HEADERS(sys/select.h sys/socket.h) dnl AC_CHECK_HEADERS(pthread.h pwd.h grp.h syslog.h errno.h dnl AC_CHECK_HEADERS(sys/socket.h) AC_CHECK_HEADERS(netinet/in.h arpa/inet.h sys/socket.h) AC_CHECK_HEADERS(strings.h) AC_CHECK_HEADER(spf2/spf.h, , [ echo "libspf2 is required to build this program." exit 1; ]) AC_CHECK_LIB(spf2, SPF_destroy_config, , [ echo "libspf2 is required to build this program." exit 1; ]) AC_CHECK_FUNCS(getopt_long) AM_CONFIG_HEADER(config.h) AC_OUTPUT(Makefile)