diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-12 04:51:49 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-12 04:53:03 +0100 |
commit | 58b49d96ad2be04253c3aa7b76144322bb5439ce (patch) | |
tree | 9c8acfa03232d2670600b2a8f5eddfd81cbf2869 /configure.in | |
parent | 557bf7ae88901b0be44a6b5c139842bead3c3461 (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
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 44bb5e9a1b66..39c533d66c27 100644 --- a/configure.in +++ b/configure.in @@ -5389,8 +5389,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 |