X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/9db701caebdb9bb6af0e01172893d55611854af3..e99aedcf9373b3305c32e510c086bf3357b4736a:/configure.ac diff --git a/configure.ac b/configure.ac index c285d619..61ed4a8f 100644 --- a/configure.ac +++ b/configure.ac @@ -61,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. @@ -97,6 +96,15 @@ 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. AC_ARG_WITH([tracing], @@ -108,6 +116,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. @@ -291,7 +312,9 @@ AC_CONFIG_FILES( [Makefile] [common/Makefile] [uslip/Makefile] + [pathmtu/Makefile] [client/Makefile] + [priv/Makefile] [server/Makefile] [proxy/Makefile] [pkstream/Makefile]