postgresql on MS Windows: use MozLDAP only if enabled

This commit is contained in:
Lionel Elie Mamane
2012-02-05 11:41:55 +01:00
parent 9648045af2
commit 069fa157ce

View File

@@ -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