diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-12 12:45:37 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-12 12:46:00 +0100 |
commit | e96eb62002d6bd745f5615bf180c3586f247cdd1 (patch) | |
tree | 1813ad34da45afc79c45deb785b914691150d31b /postgresql/makefile.mk | |
parent | Resolves: fdo#43690 install explicit cancel handler (diff) | |
download | core-e96eb62002d6bd745f5615bf180c3586f247cdd1.tar.gz core-e96eb62002d6bd745f5615bf180c3586f247cdd1.zip |
Allow the internal libpq to use both openldap and mozldap
Diffstat (limited to 'postgresql/makefile.mk')
-rw-r--r-- | postgresql/makefile.mk | 8 |
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 |