X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=configure.in;h=2c1fa700a3a3cf0cb8606a1623b6d09e0de7411b;hp=c0db8d5939351cc16e62ac9d6b26c169f8ad13f3;hb=d8c249008a0b2abd44e652ed70e69b3dbc05b9d8;hpb=1935c44a1e8ab7c31c836f90215e3c5b5f8dd776 diff --git a/configure.in b/configure.in index c0db8d59..2c1fa700 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.in,v 1.13.2.35 2001/10/13 13:53:07 guus Exp $ +dnl $Id: configure.in,v 1.13.2.43 2002/03/22 11:43:46 guus Exp $ AC_INIT(src/tincd.c) AM_INIT_AUTOMAKE(tinc, 1.0-cvs) @@ -36,19 +36,23 @@ AC_CANONICAL_HOST case $host_os in *linux*) AC_DEFINE(HAVE_LINUX) - [ ln -sf linux/device.c src/device.c ] + [ rm -f src/device.c; ln -sf linux/device.c src/device.c ] ;; *freebsd*) AC_DEFINE(HAVE_FREEBSD) - [ ln -sf freebsd/device.c src/device.c ] + [ rm -f src/device.c; ln -sf freebsd/device.c src/device.c ] ;; *solaris*) AC_DEFINE(HAVE_SOLARIS) - [ ln -sf solaris/device.c src/device.c ] + [ rm -f src/device.c; ln -sf solaris/device.c src/device.c ] ;; *openbsd*) AC_DEFINE(HAVE_OPENBSD) - [ ln -sf openbsd/device.c src/device.c ] + [ rm -f src/device.c; ln -sf openbsd/device.c src/device.c ] + ;; + *netbsd*) + AC_DEFINE(HAVE_NETBSD) + [ rm -f src/device.c; ln -sf netbsd/device.c src/device.c ] ;; esac @@ -94,6 +98,13 @@ AC_CACHE_SAVE dnl These are defined in files in m4/ tinc_TUNTAP tinc_OPENSSL +tinc_ZLIB + +dnl Check if support for jumbograms is requested +AC_ARG_ENABLE(jumbograms, + [ --enable-jumbograms enable support for jumbograms (packets up to 9000 bytes)], + [ AC_DEFINE(ENABLE_JUMBOGRAMS) ] +) dnl Check if checkpoint tracing has to be enabled AC_ARG_ENABLE(tracing, @@ -111,5 +122,4 @@ intl/Makefile lib/Makefile m4/Makefile po/Makefile.in -redhat/Makefile -debian/Makefile) +)