chiark / gitweb /
pathmtu: New program for determining the MTU to a host.
[tripe] / configure.ac
index aa775b7bd0acb68074390c0851e345a9ed3b7e65..674116e37da66c091beb09518223100b608c387f 100644 (file)
@@ -106,6 +106,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,6 +303,7 @@ AC_CONFIG_FILES(
   [Makefile]
   [common/Makefile]
   [uslip/Makefile]
+  [pathmtu/Makefile]
   [client/Makefile]
   [server/Makefile]
   [proxy/Makefile]