dovecot-1.2: configure: Check sasl.h existence only when using -...

dovecot at dovecot.org dovecot at dovecot.org
Sun Jul 26 21:17:38 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/6a6091e473cc
changeset: 9245:6a6091e473cc
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jul 26 14:17:30 2009 -0400
description:
configure: Check sasl.h existence only when using --with-ldap.
Patch by Pascal Volk.

diffstat:

1 file changed, 3 insertions(+), 2 deletions(-)
configure.in |    5 +++--

diffs (22 lines):

diff -r 8f376b8ce81d -r 6a6091e473cc configure.in
--- 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 @@ AC_CHECK_HEADERS(strings.h stdint.h unis
   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 @@ 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


More information about the dovecot-cvs mailing list