summaryrefslogtreecommitdiff
path: root/postgresql
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-12-15 18:40:59 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2011-12-15 18:40:59 +0100
commit227350eb5a9881f795e9ae499c732f0148e4ac38 (patch)
tree36bb4cfc5e0a9df913003812eab35ec427e35a9c /postgresql
parent6a8f6c4b1324e28c598a065683103ac2ef8ea3fc (diff)
Introduce optional krb5&gssapi support for internal PostgreSQL
Enable it by default on MacOS X
Diffstat (limited to 'postgresql')
-rw-r--r--postgresql/makefile.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk
index e4e3969e01ac..1e1c4f4a5460 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -60,15 +60,25 @@ CONFIGURE_DIR=.
BUILD_DIR=src/interfaces/libpq
CONFIGURE_ACTION = CPPFLAGS="$(SOLARINC)" LDFLAGS="$(SOLARLIB)" ./configure --without-readline --disable-shared --with-openssl
+
.IF "$(WITH_LDAP)" == "YES"
CONFIGURE_ACTION += --with-ldap
.IF "$(WITH_OPENLDAP)" != "YES"
CONFIGURE_ACTION += --with-includes='$(SOLARVER)$/$(INPATH)$/inc$/mozilla$/ldap' --with-mozldap
.ENDIF
+.ENDIF # "$(WITH_LDAP)" == "YES"
+
+.IF "$(WITH_KRB5)" == "YES"
+CONFIGURE_ACTION += --with-krb5
.ENDIF
-BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib libpq-flags.mk
+.IF "$(WITH_GSSAPI)" == "YES"
+CONFIGURE_ACTION += --with-gssapi
.ENDIF
+BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib libpq-flags.mk
+
+.ENDIF # "$(GUI)$(COM)"=="WNTMSC"
+
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk