AC_PATH_PROG(SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$ac_aux_path_sendmail)
AC_DEFINE_UNQUOTED(SENDMAIL,"$ac_cv_path_SENDMAIL",[ Where to find sendmail on your system. ])
-dnl ---------------- gpgme ----------------
+dnl ---------------- lua5.1 ----------------
PKG_CHECK_MODULES(LUA,lua5.1,[
CPPFLAGS="$CPPFLAGS $LUA_CFLAGS"
LDFLAGS="$LDFLAGS $LUA_LIBS"
AM_PATH_GPGME(,,[AC_MSG_ERROR(GPGME not found)])
MUTTLIBS="$MUTTLIBS $GPGME_LIBS"
AC_DEFINE(CRYPT_BACKEND_GPGME, 1, [Defined, if GPGME support is enabled])
- AM_CONDITIONAL(BUILD_GPGME, true)
else
- AM_CONDITIONAL(BUILD_GPGME, false)
+ AC_MSG_ERROR([could not find gpgme])
fi
])
MUTT_AM_LIBESMTP
if test x$use_libesmtp = xyes; then
CFLAGS="$CFLAGS $mutt_libesmtp_cflags"
- MUTTLIBS="$MUTTLIBS $mutt_libesmtp_libs"
+ dnl HACK MUTTLIBS="$MUTTLIBS $mutt_libesmtp_libs"
+ MUTTLIBS="$MUTTLIBS -lesmtp"
MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_libesmtp.o"
AC_DEFINE(USE_LIBESMTP, 1, [Define to enable the use of libesmtp])
fi