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:54:49 +0100 |
commit | dc0b8cd31bbcc915cdd633197e3e9ac28c7398d6 (patch) | |
tree | 3c55aba29c0f24ccd11cc5ff37ef286a71fe0f72 /postgresql/makefile.mk | |
parent | 96e3f652ad0c02140fea42790e2d0a2baabb45d8 (diff) |
Allow the internal libpq to use both openldap and mozldap
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
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 |