diff options
Diffstat (limited to 'postgresql')
-rw-r--r-- | postgresql/makefile.mk | 10 |
1 files changed, 8 insertions, 2 deletions
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 |