[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1987] nagiosplug/trunk/configure.in

hweiss at users.sourceforge.net hweiss at users.sourceforge.net
Tue Apr 29 16:54:10 CEST 2008


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.




More information about the Commits mailing list