Mercurial > hg > xemacs-beta
comparison configure.in @ 418:e804706bfb8c r21-2-17
Import from CVS: tag r21-2-17
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:23:13 +0200 |
parents | ebe98a74bd68 |
children | 41dbb7a9d5f2 |
comparison
equal
deleted
inserted
replaced
417:43a18b32d56e | 418:e804706bfb8c |
---|---|
2668 dnl Autodetect LDAP | 2668 dnl Autodetect LDAP |
2669 AC_CHECKING(for LDAP) | 2669 AC_CHECKING(for LDAP) |
2670 test -z "$with_ldap" && { AC_CHECK_HEADER(ldap.h, ,with_ldap=no) } | 2670 test -z "$with_ldap" && { AC_CHECK_HEADER(ldap.h, ,with_ldap=no) } |
2671 test -z "$with_ldap" && { AC_CHECK_HEADER(lber.h, ,with_ldap=no) } | 2671 test -z "$with_ldap" && { AC_CHECK_HEADER(lber.h, ,with_ldap=no) } |
2672 if test "$with_ldap" != "no"; then | 2672 if test "$with_ldap" != "no"; then |
2673 test -z "$with_umich_ldap" && { AC_CHECK_LIB(ldap, ldap_open, with_umich_ldap=yes, with_umich_ldap=no, -llber) } | 2673 AC_CHECK_LIB(ldap, ldap_search, with_ldap_nolber=yes, with_ldap_nolber=no) |
2674 test "$with_umich_ldap" = "no" && { AC_CHECK_LIB(ldap10, ldap_set_option, with_ns_ldap=yes, with_ns_ldap=no) } | 2674 test "$with_ldap_nolber" = "no" && { AC_CHECK_LIB(ldap, ldap_open, with_ldap_lber=yes, with_ldap_lber=no, -llber) } |
2675 test -z "$with_ldap" -a \( "$with_umich_ldap" = "yes" -o "$with_ns_ldap" = "yes" \) && with_ldap=yes | 2675 test -z "$with_ldap" -a \( "$with_ldap_lber" = "yes" -o "$with_ldap_nolber" = "yes" \) && with_ldap=yes |
2676 fi | 2676 fi |
2677 if test "$with_ldap" = "yes"; then | 2677 if test "$with_ldap" = "yes"; then |
2678 AC_DEFINE(HAVE_LDAP) | 2678 AC_DEFINE(HAVE_LDAP) |
2679 XE_ADD_OBJS(eldap.o) | 2679 XE_ADD_OBJS(eldap.o) |
2680 if test "$with_umich_ldap" = "yes" ; then | 2680 if test "$with_ldap_nolber" = "yes" ; then |
2681 AC_DEFINE(HAVE_UMICH_LDAP) | 2681 XE_PREPEND(-lldap, LIBS) |
2682 else | |
2682 XE_PREPEND(-llber, LIBS) | 2683 XE_PREPEND(-llber, LIBS) |
2683 XE_PREPEND(-lldap, LIBS) | 2684 XE_PREPEND(-lldap, LIBS) |
2684 elif test "$with_ldap" = "yes" -a "$with_ns_ldap" = "yes" ; then | 2685 fi |
2685 AC_DEFINE(HAVE_NS_LDAP) | 2686 AC_CHECK_FUNCS(ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result) |
2686 XE_PREPEND(-lldap10, LIBS) | |
2687 elif test "$with_ldap" = "yes" ; then | |
2688 XE_PREPEND(-lldap, LIBS) | |
2689 fi | |
2690 fi | 2687 fi |
2691 | 2688 |
2692 dnl ---------------------- | 2689 dnl ---------------------- |
2693 dnl Graphics libraries | 2690 dnl Graphics libraries |
2694 dnl ---------------------- | 2691 dnl ---------------------- |
4059 | 4056 |
4060 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 4057 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
4061 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 4058 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
4062 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 4059 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
4063 | 4060 |
4064 test "$with_umich_ldap" = yes && echo " Compiling in support for LDAP (UMich libs)." | 4061 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
4065 test "$with_ns_ldap" = yes && echo " Compiling in support for LDAP (Netscape SDK)." | |
4066 test "$with_ldap" = yes -a "$with_umich_ldap" = no -a "$with_ns_ldap" = no && echo " Compiling in support for LDAP (Generic)." | |
4067 | 4062 |
4068 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 4063 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
4069 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 4064 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
4070 | 4065 |
4071 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 4066 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |