From cd3601c5df57c7544ece00bf79e82b36499a26ff Mon Sep 17 00:00:00 2001 From: Ivo Timmermans Date: Sun, 9 Jun 2002 15:58:05 +0000 Subject: [PATCH] Add /sw/{include,lib} to search paths if they exist --- configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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. -- 2.39.5