Monotone-Parent: 7a136eaa02ec3a94eb1e5d03db3079470f49374e

Monotone-Revision: c465e35fc5f42324c08780dae83f7d225dca6e6a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-09-25T16:28:22
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-09-25 16:28:22 +00:00
parent 6a97972f2a
commit 9edd16c0f4
6 changed files with 88 additions and 1 deletions

16
configure vendored
View File

@@ -18,6 +18,7 @@ ARG_GSMAKE=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null`
ARG_CFGMAKE="$PWD/config.make"
ARG_WITH_DEBUG=1
ARG_WITH_STRIP=1
ARG_WITH_LDAP_CONFIG=0
GNUSTEP_INSTALLATION_DOMAIN="LOCAL"
@@ -58,6 +59,8 @@ Installation directories:
--enable-debug turn on debugging and compile time warnings
--enable-strip turn on stripping of debug symbols
--enable-ldap-config enable LDAP based configuration of SOGo
_ACEOF
exit 0;
@@ -265,7 +268,11 @@ genConfigMake() {
done
cfgwrite "LIBRARY_COMBO=$LIBRARY_COMBO"
cfgwrite ""
if test $ARG_WITH_LDAP_CONFIG = 1; then
cfgwrite "ADDITIONAL_CPPFLAGS += -DLDAP_CONFIG=1"
cfgwrite "ldap_config:=yes"
fi
}
checkLinking() {
@@ -373,6 +380,13 @@ processOption() {
ARG_WITH_STRIP=0
;;
"x--enable-ldap-config")
ARG_WITH_LDAP_CONFIG=1
;;
"x--disable-ldap-config")
ARG_WITH_LDAP_CONFIG=0
;;
*) echo "error: cannot process argument: $1"; exit 1; ;;
esac
}