# Process this file with autoconf to produce a configure script. AC_INIT(proxy.c) AC_CANONICAL_SYSTEM dnl package, version VERSION=0.03 PACKAGE=bsdproxy AM_INIT_AUTOMAKE($PACKAGE, $VERSION) AM_CONFIG_HEADER(config.h) dnl Checks for libraries. AM_PATH_GLIB(1.2.8,, AC_MSG_ERROR([ *** GLIB 1.2.8 or better is required. The latest version of GLIB *** is always available from ftp://ftp.gtk.org/.]), gmodule gthread) GLIB_CFLAGS=`$GLIB_CONFIG glib --cflags` GLIB_LIBS=`$GLIB_CONFIG glib --libs` dnl C source AC_PROG_CC AC_PROG_INSTALL AC_PROG_CC_C_O AC_PROG_CPP AC_LANG_C dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/event.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_HEADER_TIME dnl Checks for library functions. AC_TYPE_SIGNAL AC_CHECK_FUNCS(gettimeofday socket kqueue) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) AC_OUTPUT(Makefile)