summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dbd7b90)
raw | patch | inline | side by side (parent: dbd7b90)
author | Holger Weiss <hweiss@users.sourceforge.net> | |
Tue, 29 Apr 2008 14:54:09 +0000 (14:54 +0000) | ||
committer | Holger Weiss <hweiss@users.sourceforge.net> | |
Tue, 29 Apr 2008 14:54:09 +0000 (14:54 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1987 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 418b597bd6200fb004cc980bd95cad35147438f3..8ba09cb69916cbaec1e2b8be603c02c944ce006f 100644 (file)
--- a/configure.in
+++ b/configure.in
[sets path to pgsql installation]),
PGSQL=$withval,)
AC_CHECK_LIB(crypt,main)
-if test "$ac_cv_lib_crypt_main" = "yes"; then
+if test "$ac_cv_lib_crypt_main" = "yes" -a "x$PGSQL" != "xno"; then
if test -n "$PGSQL"; then
LDFLAGS="$LDFLAGS -L$PGSQL/lib"
CPPFLAGS="$CPPFLAGS -I$PGSQL/include"