SF.net SVN: nagiosplug: [1987] nagiosplug/trunk/configure.in
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 1987
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1987&view=rev
Author: hweiss
Date: 2008-04-29 07:54:09 -0700 (Tue, 29 Apr 2008)
Log Message:
-----------
Support "--without-pgsql" (reported by Alex Songe via IRC).
Modified Paths:
--------------
nagiosplug/trunk/configure.in
Modified: nagiosplug/trunk/configure.in
===================================================================
--- nagiosplug/trunk/configure.in 2008-04-29 09:01:48 UTC (rev 1986)
+++ nagiosplug/trunk/configure.in 2008-04-29 14:54:09 UTC (rev 1987)
@@ -181,7 +181,7 @@
[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"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone