X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/63efe3ef63f9446848c3cfdc0600ed8301edf8c2..c64d8cd5d52eeff47dfaab62c3da19ad7b1c9234:/configure.ac diff --git a/configure.ac b/configure.ac index 40fa5827..674116e3 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,8 @@ AX_CFLAGS_WARN_ALL AC_CANONICAL_HOST AM_PROG_LIBTOOL +AC_CHECK_PROGS([AUTOM4TE], [autom4te]) + dnl-------------------------------------------------------------------------- dnl C programming environment. @@ -59,7 +61,6 @@ PKG_CHECK_MODULES([mLib], [mLib >= 2.0.4]) PKG_CHECK_MODULES([catacomb], [catacomb >= 2.1.1]) CFLAGS="$CFLAGS $mLib_CFLAGS $catacomb_CFLAGS" -LIBS="$LIBS $mLib_LIBS" dnl-------------------------------------------------------------------------- dnl Directories to install things into. @@ -106,6 +107,19 @@ AC_ARG_WITH([tracing], [:]) dnl-------------------------------------------------------------------------- +dnl Path MTU discovery. + +case $host_os in + linux*) + pmtu=yes + ;; + *) + pmtu=no + ;; +esac +AM_CONDITIONAL([PATHMTU], [test $pmtu = yes]) + +dnl-------------------------------------------------------------------------- dnl Tunnel devices. dnl Provide the user with a choice. @@ -225,7 +239,7 @@ esac dnl If we're still interested, find Glib. case "$haveshark" in - yes) AM_PATH_GLIB([1.2.0], [], haveshark=false, [gmodule]) ;; + yes) AM_PATH_GLIB_2_0([2.4.0], [], [haveshark=false], [gmodule]) ;; esac dnl Find the include directory. This would be much easier if they just @@ -283,10 +297,13 @@ dnl-------------------------------------------------------------------------- dnl Produce output. AC_CONFIG_HEADER([config/config.h]) +AC_CONFIG_TESTDIR([t]) AC_CONFIG_FILES( [Makefile] [common/Makefile] + [uslip/Makefile] + [pathmtu/Makefile] [client/Makefile] [server/Makefile] [proxy/Makefile] @@ -294,7 +311,8 @@ AC_CONFIG_FILES( [wireshark/Makefile] [init/Makefile] [keys/Makefile] - [mon/Makefile]) + [mon/Makefile] + [t/Makefile t/atlocal]) AC_OUTPUT dnl ----- That's all, folks -------------------------------------------------