let the no_db FLAVOR build more cleanly

This commit is contained in:
sturm 2006-07-20 21:21:46 +00:00
parent d2d22e6ad2
commit 443cae142c

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.3 2006/04/19 20:35:28 sturm Exp $
$OpenBSD: patch-configure,v 1.4 2006/07/20 21:21:46 sturm Exp $
--- configure.orig Wed Apr 19 05:52:19 2006
+++ configure Wed Apr 19 21:29:45 2006
+++ configure Thu Jul 20 22:42:43 2006
@@ -24328,13 +24328,13 @@ if test "${with_pgsql+set}" = set; then
PGSQL=$withval
fi;
@ -18,7 +18,7 @@ $OpenBSD: patch-configure,v 1.3 2006/04/19 20:35:28 sturm Exp $
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -24391,7 +24391,7 @@ if test $ac_cv_lib_crypt_main = yes; the
@@ -24391,12 +24391,12 @@ if test $ac_cv_lib_crypt_main = yes; the
#define HAVE_LIBCRYPT 1
_ACEOF
@ -27,6 +27,12 @@ $OpenBSD: patch-configure,v 1.3 2006/04/19 20:35:28 sturm Exp $
fi
if test "$ac_cv_lib_crypt_main" = "yes"; then
- if test -n "$PGSQL"; then
+ if [ "$PGSQL" != "no"] ; then
LDFLAGS="$LDFLAGS -L$PGSQL/lib"
CPPFLAGS="$CPPFLAGS -I$PGSQL/include"
fi
@@ -24407,7 +24407,7 @@ if test "${ac_cv_lib_pq_PQsetdbLogin+set
echo $ECHO_N "(cached) $ECHO_C" >&6
else