summaryrefslogtreecommitdiff
path: root/postgresql/makefile.mk
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-12 12:45:37 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-12 12:46:00 +0100
commite96eb62002d6bd745f5615bf180c3586f247cdd1 (patch)
tree1813ad34da45afc79c45deb785b914691150d31b /postgresql/makefile.mk
parentcdd597746ff43c02ae613304ffe7456ec855181f (diff)
Allow the internal libpq to use both openldap and mozldap
Diffstat (limited to 'postgresql/makefile.mk')
-rw-r--r--postgresql/makefile.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk
index 0628d71a6566..3f3bd823ecb4 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -52,15 +52,19 @@ CONFIGURE_DIR=.
BUILD_DIR=src
CONFIGURE_ACTION =
-BUILD_ACTION = nmake -f win32.mak USE_SSL=1
+BUILD_ACTION = nmake -f win32.mak USE_SSL=1 USE_LDAP=1 USE_MOZLDAL=1
.ELSE
CONFIGURE_DIR=.
BUILD_DIR=src/interfaces/libpq
CONFIGURE_ACTION = ./configure --without-readline --disable-shared --with-openssl
-.IF "$(WITH_LDAP)" == "YES" && "$(WITH_OPENLDAP)" == "YES"
+.IF "$(WITH_LDAP)" == "YES"
CONFIGURE_ACTION += --with-ldap
.ENDIF
+.IF "$(WITH_OPENLDAP)" != "YES"
+CONFIGURE_ACTION += --with-mozldap
+.ELSE
+.ENDIF
BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib
.ENDIF