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:51:49 +0100 |
commit | d1a1585c30c31dec38d32571e9c2b4444bee4d03 (patch) | |
tree | 580937ef78e73752a41cb1b26fe05ff6f338267e /configure.in | |
parent | Fix a typo? (diff) | |
download | core-d1a1585c30c31dec38d32571e9c2b4444bee4d03.tar.gz core-d1a1585c30c31dec38d32571e9c2b4444bee4d03.zip |
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.in | 6 |
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 |