From 069fa157ce67a282f532301e452387fb67a7a8c5 Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sun, 5 Feb 2012 11:41:55 +0100 Subject: postgresql on MS Windows: use MozLDAP only if enabled --- postgresql/makefile.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'postgresql') diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 2d814bdeb798..340a6a8c9aa2 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -56,8 +56,14 @@ BUILD_DIR=src CONFIGURE_ACTION = SOLARINC += -I$(SOLARVER)$/$(INPATH)$/inc$/mozilla$/ldap -BUILD_ACTION = nmake -f win32.mak USE_SSL=1 USE_LDAP=1 USE_MOZLDAP=1 -.ELSE +BUILD_ACTION = nmake -f win32.mak USE_SSL=1 +.IF "$(WITH_LDAP)" == "YES" +BUILD_ACTION += USE_LDAP=1 +.IF "$(WITH_OPENLDAP)" != "YES" +BUILD_ACTION += USE_MOZLDAP=1 +.ENDIF +.ENDIF # "$(WITH_LDAP)" == "YES" +.ELSE #"$(GUI)$(COM)"!="WNTMSC" CONFIGURE_DIR=. BUILD_DIR=src/interfaces/libpq -- cgit