From: Timo Sirainen Date: Sun, 26 Jul 2009 18:17:30 +0000 (-0400) Subject: configure: Check sasl.h existence only when using --with-ldap. X-Git-Tag: 2.0.alpha1~396 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a0731b9b760e1543473e847206a596a8b8aa9ad;p=thirdparty%2Fdovecot%2Fcore.git configure: Check sasl.h existence only when using --with-ldap. Patch by Pascal Volk. --HG-- branch : HEAD --- diff --git a/configure.in b/configure.in index f025d8fcfd..fa1f048362 100644 --- a/configure.in +++ b/configure.in @@ -291,8 +291,8 @@ AC_CHECK_HEADERS(strings.h stdint.h unistd.h dirent.h malloc.h inttypes.h \ sys/uio.h sys/sysmacros.h sys/resource.h sys/select.h libgen.h \ sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h sys/fs/quota_common.h \ mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \ - xfs/xqm.h sasl.h sasl/sasl.h execinfo.h ucontext.h malloc_np.h sys/utsname.h \ - sys/vmount.h sys/utsname.h) + xfs/xqm.h execinfo.h ucontext.h malloc_np.h sys/utsname.h sys/vmount.h \ + sys/utsname.h) dnl * gcc specific options if test "x$ac_cv_c_compiler_gnu" = "xyes"; then @@ -1896,6 +1896,7 @@ if test $want_ldap != no; then AC_DEFINE(USERDB_LDAP,, Build with LDAP support) AC_DEFINE(PASSDB_LDAP,, Build with LDAP support) + AC_CHECK_HEADERS(sasl.h sasl/sasl.h) have_ldap=yes ], [ if test $want_ldap != auto; then