From b3f264a271047021c05398592160979c6b3d2660 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 14 Apr 2000 16:50:40 +0000 Subject: quiet configure in the case where it can't find ldap libs. * configure.in: quiet configure in the case where it can't find ldap libs. svn path=/trunk/; revision=2428 --- ChangeLog | 5 +++++ configure.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0db0865385..b8edd94dca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-04-14 Chris Toshok + + * configure.in: quiet configure in the case where it can't find + ldap libs. + 2000-04-13 Christopher James Lahey * addressbook/contact-editor/e-contact-editor.c (extract_info): diff --git a/configure.in b/configure.in index 75ce24caed..d39d3e011e 100644 --- a/configure.in +++ b/configure.in @@ -92,16 +92,16 @@ dnl ************************************************** dnl * ldap related stuff. dnl ************************************************** AC_CHECK_LIB(lber, ber_get_tag, LDAP_LIBS="-llber") -if test $ac_cv_lib_lber_ber_get_tag = yes; then +if test x$ac_cv_lib_lber_ber_get_tag = xyes; then AC_CHECK_LIB(ldap, ldap_open, LDAP_LIBS="-lldap $LDAP_LIBS", ,-llber) fi -if test $ac_cv_lib_ldap_ldap_open = yes; then +if test x$ac_cv_lib_ldap_ldap_open = xyes; then AC_DEFINE(HAVE_LDAP) AC_SUBST(LDAP_LIBS) else AC_MSG_WARN(no ldap support present) fi -AM_CONDITIONAL(ENABLE_LDAP, test $ac_cv_lib_ldap_ldap_open = yes) +AM_CONDITIONAL(ENABLE_LDAP, test x$ac_cv_lib_ldap_ldap_open = xyes) dnl ************************************************** dnl * Posix thread support -- cgit