Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9245:6a6091e473cc HEAD
configure: Check sasl.h existence only when using --with-ldap.
Patch by Pascal Volk.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 26 Jul 2009 14:17:30 -0400 |
parents | 8f376b8ce81d |
children | 25650d7f6b85 |
files | configure.in |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Sun Jul 26 14:14:34 2009 -0400 +++ b/configure.in Sun Jul 26 14:17:30 2009 -0400 @@ -303,8 +303,8 @@ 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 @@ -1908,6 +1908,7 @@ 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