X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.in;h=d15e9664b8cab4033d575328a5e0e65f0c8a0694;hb=37910518c33a356c5da893c3db0dce6349b78aa0;hp=7f0dabbe5f00aa11533af7292b22e7a0a150089f;hpb=128545e06224233b7e91fc4c83f8830252fe16c9;p=mmh diff --git a/configure.in b/configure.in index 7f0dabb..d15e966 100644 --- a/configure.in +++ b/configure.in @@ -78,31 +78,6 @@ fi], AC_DEFINE(LOCALE) ) -dnl Do you want client-side support for using SASL for authentication? -dnl Note that this code will be enabled for SMTP -AC_ARG_WITH(cyrus-sasl, AS_HELP_STRING([--with-cyrus-sasl], - [Enable SASL support via the Cyrus SASL library])) -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 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 -fi - -dnl Do you want client-side support for encryption with TLS? -AC_ARG_WITH(tls, AS_HELP_STRING([--with-tls], [Enable TLS support])) -if test x"$with_tls" != x -a x"$with_tls" != x"no"; then - AC_DEFINE(TLS_SUPPORT, 1, [Support TLS for session encryption.])dnl - tls_support=yes -else - tls_support=no -fi - dnl What should be the default editor? AC_ARG_WITH(editor, AS_HELP_STRING([--with-editor=EDITOR],[specify the default editor])) @@ -144,15 +119,6 @@ else AC_DEFINE(DOT_LOCKING)dnl fi -dnl What method of posting should post use? -dnl We'll always use sendmail now. (mmh) -MTS="sendmail" -dnl #AC_SUBST(MTS)dnl - -dnl Both the smtp and sendmail mail transport services use the smtp code -AC_DEFINE(SMTPMTS, 1, - [Define if you want SMTP (simple mail transport protocol) support.])dnl - dnl What should be the default pager? AC_ARG_WITH(pager, AS_HELP_STRING([--with-pager=PAGER],[specify the default pager])) @@ -621,26 +587,6 @@ else fi -dnl -------------------- -dnl CHECK FOR CYRUS-SASL -dnl -------------------- - -AS_IF([test x"$sasl_support" = x"yes"],[ - 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])])]) - -dnl ----------------- -dnl CHECK FOR OPENSSL -dnl ----------------- - -AS_IF([test x"$tls_support" = x"yes"],[ - AC_CHECK_HEADER([openssl/ssl.h], , [AC_MSG_ERROR([openssl/ssl.h not found])]) - AC_CHECK_LIB([crypto], [BIO_write], , - [AC_MSG_ERROR([OpenSSL crypto library not found])]) - AC_CHECK_LIB([ssl], [SSL_library_init], , - [AC_MSG_ERROR([OpenSSL library not found])])]) - dnl --------------------- dnl CHECK TERMCAP LIBRARY dnl --------------------- @@ -923,7 +869,6 @@ dnl ---------------- dnl OUTPUT MAKEFILES dnl ---------------- AC_CONFIG_FILES(Makefile config/Makefile h/Makefile sbr/Makefile uip/Makefile \ - mts/Makefile mts/smtp/Makefile \ etc/Makefile docs/Makefile man/Makefile) AC_CONFIG_COMMANDS([stamp],[test -z "$CONFIG_HEADERS" || echo > stamp-h]) AC_OUTPUT @@ -943,23 +888,24 @@ eval "nmhman=${mandir}"; eval "nmhman=${nmhman}" echo " nmh configuration ----------------- -nmh version : AC_PACKAGE_VERSION -target os : ${target} -compiler : ${CC} -compiler flags : ${CFLAGS} -linker flags : ${LDFLAGS} -definitions : ${OURDEFS} -source code location : ${srcdir} -binary install path : ${nmhbin} -library install path : ${nmhlib} -config files install path : ${nmhsysconf} -man page install path : ${nmhman} -backup prefix : ${backup_prefix} -transport system : ${MTS} -file locking type : ${LOCKTYPE} -default editor : ${editorpath} -default pager : ${pagerpath} -email address masquerading : ${masquerade} -SASL support : ${sasl_support} -TLS support : ${tls_support}" -echo "" +nmh version : AC_PACKAGE_VERSION +target os : ${target} +compiler : ${CC} +compiler flags : ${CFLAGS} +linker flags : ${LDFLAGS} +definitions : ${OURDEFS} +source code location : ${srcdir} + +binary install path : ${nmhbin} +library install path : ${nmhlib} +config install path : ${nmhsysconf} +man page install path : ${nmhman} + +default editor : ${editorpath} +default pager : ${pagerpath} +sendmail : ${sendmailpath} + +backup prefix : ${backup_prefix} +file locking type : ${LOCKTYPE} +email address masq. : ${masquerade} +"