From: Ivo Timmermans Date: Sun, 9 Jun 2002 15:58:05 +0000 (+0000) Subject: Add /sw/{include,lib} to search paths if they exist X-Git-Tag: import-tinc-1.1~785^2~279 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=cd3601c5df57c7544ece00bf79e82b36499a26ff;p=meshlink Add /sw/{include,lib} to search paths if they exist --- diff --git a/configure.in b/configure.in index 390b3d08..7fc317f2 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.49 2002/06/09 15:58:05 zarq Exp $ AC_INIT(src/tincd.c) AM_INIT_AUTOMAKE(tinc, 1.0-cvs) @@ -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.