From 25ae9943a8d9035aaa3b694d3c4d561a23086d63 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Mon, 17 Feb 2003 21:04:55 +0000 Subject: library search dirs are part of LDFLAGS git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@330 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/configure.in b/configure.in index b3864ef..cd0c118 100644 --- a/configure.in +++ b/configure.in @@ -93,7 +93,7 @@ AC_ARG_WITH(pgsql,--with-pgsql= sets path to pgsql installation,[PGSQL=$wit AC_CHECK_LIB(crypt,main) if test "$ac_cv_lib_crypt_main" = "yes"; then if test -n "$PGSQL"; then - LIBS="$LIBS -L$PGSQL/lib" + LDFLAGS="$LDFLAGS -L$PGSQL/lib" CPPFLAGS="$CPPFLAGS -I$PGSQL/include" fi AC_CHECK_LIB(pq,PQsetdbLogin,,,-lcrypt) -- cgit v0.10-9-g596f