X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=configure.in;h=f866c0a77efbd334aef67682a7febb3be954fc5f;hp=77307173595805118b5699e7324f2acd442f3836;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=da304a48a24d7cc7fafae13c994d94ad3d6483f2 diff --git a/configure.in b/configure.in index 7730717..f866c0a 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,6 @@ dnl dnl configure.in -- autoconf template for nmh dnl -dnl $Id$ -dnl dnl Move this up a bit AC_PREREQ(2.61) @@ -107,6 +105,10 @@ AC_ARG_WITH(cyrus-sasl, AS_HELP_STRING([--with-cyrus-sasl], if test x"$with_cyrus_sasl" != x -a x"$with_cyrus_sasl" != x"no"; then AC_DEFINE(CYRUS_SASL, 1, [Define to use the Cyrus SASL library for authentication of POP and SMTP.])dnl + if test x"$with_cyrus_sasl" != xyes; then + AC_MSG_WARN([Arguments to --with-cyrus-sasl now ignored]) + AC_MSG_WARN([Please pass the appropriate arguments to CPPFLAGS/LDFLAGS]) + fi sasl_support=yes else sasl_support=no @@ -704,7 +706,7 @@ dnl CHECK FOR CYRUS-SASL dnl -------------------- AS_IF([test x"$sasl_support" = x"yes"],[ - AC_CHECK_HEADER([sasl.h], , [AC_MSG_ERROR([sasl.h not found])]) + AC_CHECK_HEADER([sasl/sasl.h], , [AC_MSG_ERROR([sasl.h not found])]) AC_CHECK_LIB([sasl2], [sasl_client_new], , [AC_MSG_ERROR([Cyrus SASL library not found])])])