summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-12 04:51:49 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-12 04:51:49 +0100
commitd1a1585c30c31dec38d32571e9c2b4444bee4d03 (patch)
tree580937ef78e73752a41cb1b26fe05ff6f338267e /configure.in
parente0ba066d4c84cf6ddc3b65ce6549ec25404f0d84 (diff)
Some more postgresql fixes
1. The --enable-extension-integration affects only packaging 2. OUTDIR_FOR_BUILD is for native build in case of crosscompiling
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 26e2fd80c252..59cb7fb793f3 100644
--- a/configure.in
+++ b/configure.in
@@ -5432,8 +5432,10 @@ dnl ===================================================================
dnl Check for PostgreSQL stuff
dnl ===================================================================
-if test "x$enable_ext_postgresql_sdbc" = "xyes" -a "x$enable_extension_integration" != "xno"; then
- SCPDEFS="$SCPDEFS -DWITH_EXTENSION_POSTGRESQL"
+if test "x$enable_ext_postgresql_sdbc" = "xyes"; then
+ if test "x$enable_extension_integration" = "xyes"; then
+ SCPDEFS="$SCPDEFS -DWITH_EXTENSION_POSTGRESQL"
+ fi
AC_MSG_CHECKING([PostgreSQL C interface])
if test "$with_system_postgresql" = "yes"; then