From 6f2ee45c932dfec9d9a1e651b39d18f98b2ef009 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 29 Apr 2008 14:54:09 +0000 Subject: [PATCH] Support "--without-pgsql" (reported by Alex Songe via IRC). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1987 f882894a-f735-0410-b71e-b25c423dba1c --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 418b597b..8ba09cb6 100644 --- a/configure.in +++ b/configure.in @@ -181,7 +181,7 @@ AC_ARG_WITH(pgsql, [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" -- 2.11.4.GIT