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])])])