X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/7bd7331ea55fc27573035d343fe949cc15fa9047..c7211b0d98a2485c859133b2dc129cdfd93eb67f:/configure.ac diff --git a/configure.ac b/configure.ac index aa775b7b..ac12dbec 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ case "$host_os" in ;; esac -PKG_CHECK_MODULES([mLib], [mLib >= 2.0.4]) +PKG_CHECK_MODULES([mLib], [mLib >= 2.1.0]) PKG_CHECK_MODULES([catacomb], [catacomb >= 2.1.1]) CFLAGS="$CFLAGS $mLib_CFLAGS $catacomb_CFLAGS" @@ -95,6 +95,15 @@ TRIPE_DEFINE_PATH( TRIPE_DEFINE_PATH( [logfile], [FILE], [logging output [[./tripe.log]]], [tripe.log]) +dnl-------------------------------------------------------------------------- +dnl Privilege-separation helper. + +mdw_DEFINE_PATHS([ + AC_DEFINE_UNQUOTED([PRIVSEP_HELPER], + ["mdw_PATH([$libexecdir])/mdw_PROG([tripe-privhelper])"], + [Pathname of privilege-separation helper.]) +]) + dnl-------------------------------------------------------------------------- dnl Other options. @@ -106,6 +115,19 @@ AC_ARG_WITH([tracing], AC_DEFINE([NTRACE], [1], [Disable all 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. @@ -290,13 +312,18 @@ AC_CONFIG_FILES( [Makefile] [common/Makefile] [uslip/Makefile] + [pathmtu/Makefile] [client/Makefile] + [priv/Makefile] [server/Makefile] [proxy/Makefile] [pkstream/Makefile] [wireshark/Makefile] [init/Makefile] + [py/Makefile] + [peerdb/Makefile] [keys/Makefile] + [svc/Makefile] [mon/Makefile] [t/Makefile t/atlocal]) AC_OUTPUT