# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(ipgrab, 0.9.9, mike@borella.net) AC_CONFIG_SRCDIR(src/ipgrab.c) AM_INIT_AUTOMAKE AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC # Checks for libraries. AC_CHECK_LIB(intl, main) MD_PATH(libpcap, pcap.h, pcap, pcap_close) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h libintl.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h stdarg.h signal.h sys/types.h ctype.h getopt.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST AC_C_INLINE AC_C_BIGENDIAN AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME # Checks for library functions. AC_FUNC_ERROR_AT_LINE AC_FUNC_MALLOC AC_FUNC_REALLOC AC_FUNC_SETVBUF_REVERSED AC_TYPE_SIGNAL AC_FUNC_VPRINTF AC_CHECK_FUNCS([gettimeofday inet_ntoa memset strchr strdup strerror strstr]) AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile]) AC_OUTPUT