diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-02-17 21:04:55 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-02-17 21:04:55 +0000 |
commit | 25ae9943a8d9035aaa3b694d3c4d561a23086d63 (patch) | |
tree | 8dcde75fd8bfbcf41ece481397cd79f651a30a95 /configure.in | |
parent | bb853d42597ae614951c0943d9792921f4f1c057 (diff) | |
download | monitoring-plugins-25ae9943a8d9035aaa3b694d3c4d561a23086d63.tar.gz |
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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index b3864eff..cd0c1186 100644 --- a/configure.in +++ b/configure.in | |||
@@ -93,7 +93,7 @@ AC_ARG_WITH(pgsql,--with-pgsql=<dir> sets path to pgsql installation,[PGSQL=$wit | |||
93 | AC_CHECK_LIB(crypt,main) | 93 | AC_CHECK_LIB(crypt,main) |
94 | if test "$ac_cv_lib_crypt_main" = "yes"; then | 94 | if test "$ac_cv_lib_crypt_main" = "yes"; then |
95 | if test -n "$PGSQL"; then | 95 | if test -n "$PGSQL"; then |
96 | LIBS="$LIBS -L$PGSQL/lib" | 96 | LDFLAGS="$LDFLAGS -L$PGSQL/lib" |
97 | CPPFLAGS="$CPPFLAGS -I$PGSQL/include" | 97 | CPPFLAGS="$CPPFLAGS -I$PGSQL/include" |
98 | fi | 98 | fi |
99 | AC_CHECK_LIB(pq,PQsetdbLogin,,,-lcrypt) | 99 | AC_CHECK_LIB(pq,PQsetdbLogin,,,-lcrypt) |