Mercurial > hg > xemacs-beta
comparison configure.in @ 361:7347b34c275b r21-1-10
Import from CVS: tag r21-1-10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:58:40 +0200 |
parents | 8e84bee8ddd0 |
children | 972bbb6d6ca2 |
comparison
equal
deleted
inserted
replaced
360:0f00b38cfccb | 361:7347b34c275b |
---|---|
300 mandir='${prefix}/man' | 300 mandir='${prefix}/man' |
301 | 301 |
302 dnl Initialize some other variables. | 302 dnl Initialize some other variables. |
303 subdirs= | 303 subdirs= |
304 MFLAGS= MAKEFLAGS= | 304 MFLAGS= MAKEFLAGS= |
305 SHELL=${CONFIG_SHELL-/bin/sh} | |
305 dnl Maximum number of lines to put in a shell here document. | 306 dnl Maximum number of lines to put in a shell here document. |
306 ac_max_here_lines=12 | 307 ac_max_here_lines=12 |
307 ])dnl AC_INIT_PARSE_ARGS | 308 ])dnl AC_INIT_PARSE_ARGS |
308 | 309 |
309 AC_INIT(src/lisp.h)dnl | 310 AC_INIT(src/lisp.h)dnl |
2677 dnl Autodetect LDAP | 2678 dnl Autodetect LDAP |
2678 AC_CHECKING(for LDAP) | 2679 AC_CHECKING(for LDAP) |
2679 test -z "$with_ldap" && { AC_CHECK_HEADER(ldap.h, ,with_ldap=no) } | 2680 test -z "$with_ldap" && { AC_CHECK_HEADER(ldap.h, ,with_ldap=no) } |
2680 test -z "$with_ldap" && { AC_CHECK_HEADER(lber.h, ,with_ldap=no) } | 2681 test -z "$with_ldap" && { AC_CHECK_HEADER(lber.h, ,with_ldap=no) } |
2681 if test "$with_ldap" != "no"; then | 2682 if test "$with_ldap" != "no"; then |
2682 test -z "$with_umich_ldap" && { AC_CHECK_LIB(ldap, ldap_open, with_umich_ldap=yes, with_umich_ldap=no, -llber) } | 2683 AC_CHECK_LIB(ldap, ldap_search, with_ldap_nolber=yes, with_ldap_nolber=no) |
2683 test "$with_umich_ldap" = "no" && { AC_CHECK_LIB(ldap10, ldap_set_option, with_ns_ldap=yes, with_ns_ldap=no) } | 2684 test "$with_ldap_nolber" = "no" && { AC_CHECK_LIB(ldap, ldap_open, with_ldap_lber=yes, with_ldap_lber=no, -llber) } |
2684 test -z "$with_ldap" -a \( "$with_umich_ldap" = "yes" -o "$with_ns_ldap" = "yes" \) && with_ldap=yes | 2685 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { AC_CHECK_LIB(ldap, ldap_open, with_ldap_krb=yes, with_ldap_krb=no, -llber -lkrb) } |
2686 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { AC_CHECK_LIB(ldap, ldap_open, with_ldap_krbdes=yes, with_ldap_krbdes=no, -llber -lkrb -ldes) } | |
2687 test -z "$with_ldap" -a \( "$with_ldap_lber" = "yes" -o "$with_ldap_nolber" = "yes" -o "$with_ldap_krb" = "yes" -o "$with_ldap_krbdes" = "yes" \) && with_ldap=yes | |
2685 fi | 2688 fi |
2686 if test "$with_ldap" = "yes"; then | 2689 if test "$with_ldap" = "yes"; then |
2687 AC_DEFINE(HAVE_LDAP) | 2690 AC_DEFINE(HAVE_LDAP) |
2688 XE_ADD_OBJS(eldap.o) | 2691 XE_ADD_OBJS(eldap.o) |
2689 if test "$with_umich_ldap" = "yes" ; then | 2692 if test "$with_ldap_nolber" = "yes" ; then |
2690 AC_DEFINE(HAVE_UMICH_LDAP) | 2693 XE_PREPEND(-lldap, LIBS) |
2694 else | |
2695 if test "$with_ldap_krb" = "yes" ; then | |
2696 XE_PREPEND(-lkrb, LIBS) | |
2697 fi | |
2698 if test "$with_ldap_krbdes" = "yes" ; then | |
2699 XE_PREPEND(-ldes, LIBS) | |
2700 XE_PREPEND(-lkrb, LIBS) | |
2701 fi | |
2691 XE_PREPEND(-llber, LIBS) | 2702 XE_PREPEND(-llber, LIBS) |
2692 XE_PREPEND(-lldap, LIBS) | 2703 XE_PREPEND(-lldap, LIBS) |
2693 elif test "$with_ldap" = "yes" -a "$with_ns_ldap" = "yes" ; then | 2704 fi |
2694 AC_DEFINE(HAVE_NS_LDAP) | 2705 AC_CHECK_FUNCS(ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result) |
2695 XE_PREPEND(-lldap10, LIBS) | |
2696 elif test "$with_ldap" = "yes" ; then | |
2697 XE_PREPEND(-lldap, LIBS) | |
2698 fi | |
2699 fi | 2706 fi |
2700 | 2707 |
2701 dnl ---------------------- | 2708 dnl ---------------------- |
2702 dnl Graphics libraries | 2709 dnl Graphics libraries |
2703 dnl ---------------------- | 2710 dnl ---------------------- |
4054 | 4061 |
4055 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 4062 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
4056 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 4063 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
4057 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 4064 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
4058 | 4065 |
4059 test "$with_umich_ldap" = yes && echo " Compiling in support for LDAP (UMich libs)." | 4066 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
4060 test "$with_ns_ldap" = yes && echo " Compiling in support for LDAP (Netscape SDK)." | |
4061 test "$with_ldap" = yes -a "$with_umich_ldap" = no -a "$with_ns_ldap" = no && echo " Compiling in support for LDAP (Generic)." | |
4062 | 4067 |
4063 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 4068 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
4064 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 4069 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
4065 | 4070 |
4066 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 4071 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |