dnl Process this file with autoconf to produce a configure script. AC_INIT(smurflog.c) AC_CONFIG_HEADER(config.h) PACKAGE=SmurfLog VERSION=2.0 AC_SUBST(PACKAGE) AC_SUBST(VERSION) dnl Checks for programs. AC_PROG_CC AC_C_CONST AC_C_INLINE AC_CHECK_PROG(STRIP,strip,strip) CFLAGS="-Wall -O" if test "x$CC" = "xgcc"; then CFLAGS="-Wall -O6 -fno-strength-reduce" fi dnl Checks for libraries. AC_CHECK_LIB(pcap, pcap_open_live) dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(unistd.h) dnl Checks for library functions. AC_TYPE_SIGNAL AC_OUTPUT(Makefile)