X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=configure.in;h=715b4016941136c3763d8ec8cec7b4225a33b6b1;hp=390b3d0821f4837ddd8db42bc23db63f7eeb8542;hb=40ac473cb10f9c6a59739ce70032b746d8e0bf68;hpb=9d769e0bf2ce266e8533e5e7c16bf07e44a9be34 diff --git a/configure.in b/configure.in index 390b3d08..715b4016 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.48 2002/06/09 15:26:10 zarq Exp $ +dnl $Id: configure.in,v 1.13.2.50 2002/06/10 14:35:18 guus Exp $ AC_INIT(src/tincd.c) AM_INIT_AUTOMAKE(tinc, 1.0-cvs) @@ -43,8 +43,8 @@ case $host_os in [ rm -f src/device.c; ln -sf freebsd/device.c src/device.c ] ;; *darwin*) - AC_DEFINE(HAVE_FREEBSD) - [ rm -f src/device.c; ln -sf freebsd/device.c src/device.c ] + AC_DEFINE(HAVE_DARWIN) + [ rm -f src/device.c; ln -sf darwin/device.c src/device.c ] ;; *solaris*) AC_DEFINE(HAVE_SOLARIS) @@ -65,6 +65,13 @@ esac AC_CACHE_SAVE +if test -d /sw/include ; then + CPPFLAGS="$CPPFLAGS -I/sw/include" +fi +if test -d /sw/lib ; then + LIBS="$LIBS -L/sw/lib" +fi + dnl Checks for libraries. dnl Checks for header files.