diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-11-23 20:11:21 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-11-23 20:11:21 +0000 |
commit | 0822a55f05bb327f0d362e0a3de205f5f1ce604a (patch) | |
tree | 288319f357281e47946b284b65c1ad70a70e5810 /src/configure | |
parent | * examples/mtr/ejabberd: Updated (thanks to Marshall T. Rose) (diff) |
* src/cyrsasl_digest.erl: Bugfix (thanks to Sergei Golovan)
* src/ejabberd.cfg.example: Updated
* src/ejabberd_auth.erl: Support for LDAP authentification
* src/cyrsasl_digest.erl: Likewise
* src/mod_register.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
* src/eldap/: Imported "eldap" package
* src/ejabberd_sm.erl: Bugfix
* src/mod_muc/mod_muc_room.erl: Bugfixes
SVN Revision: 176
Diffstat (limited to '')
-rwxr-xr-x | src/configure | 28 | ||||
-rw-r--r-- | src/configure.ac | 2 |
2 files changed, 29 insertions, 1 deletions
diff --git a/src/configure b/src/configure index d4328b9a8..c80056810 100755 --- a/src/configure +++ b/src/configure @@ -828,6 +828,7 @@ Optional Features: --enable-mod_pubsub enable mod_pubsub (default: yes) --enable-mod_irc enable mod_irc (default: yes) --enable-mod_muc enable mod_muc (default: yes) + --enable-eldap enable eldap (default: yes) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -3675,8 +3676,30 @@ echo "${ECHO_T}$mr_enable_mod_muc" >&6 +eldap= +make_eldap= +echo "$as_me:$LINENO: checking whether build eldap" >&5 +echo $ECHO_N "checking whether build eldap... $ECHO_C" >&6 +# Check whether --enable-eldap or --disable-eldap was given. +if test "${enable_eldap+set}" = set; then + enableval="$enable_eldap" + mr_enable_eldap="$enableval" +else + mr_enable_eldap=yes +fi; +if test "$mr_enable_eldap" = yes; then +eldap=eldap +make_eldap=eldap/Makefile +fi +echo "$as_me:$LINENO: result: $mr_enable_eldap" >&5 +echo "${ECHO_T}$mr_enable_eldap" >&6 + + + + + -ac_config_files="$ac_config_files Makefile $make_mod_irc $make_mod_muc $make_mod_pubsub stringprep/Makefile" +ac_config_files="$ac_config_files Makefile $make_mod_irc $make_mod_muc $make_mod_pubsub $make_eldap stringprep/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -4178,6 +4201,7 @@ do "$make_mod_irc" ) CONFIG_FILES="$CONFIG_FILES $make_mod_irc" ;; "$make_mod_muc" ) CONFIG_FILES="$CONFIG_FILES $make_mod_muc" ;; "$make_mod_pubsub" ) CONFIG_FILES="$CONFIG_FILES $make_mod_pubsub" ;; + "$make_eldap" ) CONFIG_FILES="$CONFIG_FILES $make_eldap" ;; "stringprep/Makefile" ) CONFIG_FILES="$CONFIG_FILES stringprep/Makefile" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} @@ -4283,6 +4307,8 @@ s,@mod_irc@,$mod_irc,;t t s,@make_mod_irc@,$make_mod_irc,;t t s,@mod_muc@,$mod_muc,;t t s,@make_mod_muc@,$make_mod_muc,;t t +s,@eldap@,$eldap,;t t +s,@make_eldap@,$make_eldap,;t t CEOF _ACEOF diff --git a/src/configure.ac b/src/configure.ac index 643fe2626..e594927c7 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -29,11 +29,13 @@ AC_HEADER_STDC AC_MOD_ENABLE(mod_pubsub, yes) AC_MOD_ENABLE(mod_irc, yes) AC_MOD_ENABLE(mod_muc, yes) +AC_MOD_ENABLE(eldap, yes) AC_CONFIG_FILES([Makefile $make_mod_irc $make_mod_muc $make_mod_pubsub + $make_eldap stringprep/Makefile]) AC_OUTPUT |