From: Brendan Cully Date: Fri, 6 Dec 2002 11:28:23 +0000 (+0000) Subject: autoconf cleanup. X-Git-Tag: mutt-1-5-3-rel~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=302aa59fe8d1a168ba607bcf1a86199bc626542f;p=mutt autoconf cleanup. --- diff --git a/build-release b/build-release index 62342cef..b1ff147a 100755 --- a/build-release +++ b/build-release @@ -99,7 +99,7 @@ read dummy for f in $DISTFILES ; do # scp1 $f $f.asc sigtrap.guug.de:/home/ftp/pub/mutt/${devel} - scp $f $f.asc trithemius.gnupg.org:/home/ftp/pub/mutt/${devel} + scp $f $f.asc trithemius.gnupg.org:/home/ftp/mutt/${devel} done $HOME/bin/upload-cvs diff --git a/configure.in b/configure.in index 01fdfec7..4b0ad2b9 100644 --- a/configure.in +++ b/configure.in @@ -79,7 +79,7 @@ else OPS="$OPS \$(srcdir)/OPS.PGP" fi - AC_ARG_ENABLE(smime, [ --disable-smime Disable SMIME support], + AC_ARG_ENABLE(smime, [ --disable-smime Disable SMIME support], [ if test x$enableval = xno ; then have_smime=no fi @@ -611,40 +611,7 @@ AC_ARG_WITH(sasl, [ --with-sasl[=PFX] Use Cyrus SASL library for POP/I ]) AM_CONDITIONAL(USE_SASL, test x$need_sasl = xyes) -AC_ARG_WITH(sasl2, [ --with-sasl2[=PFX] Use Cyrus SASL library version 2 for POP/IMAP authentication], - [ - if test "$need_socket" != "yes" - then - AC_MSG_ERROR([SASL support is only useful with POP or IMAP support]) - fi - - if test "$with_sasl2" != "no" - then - if test "$with_sasl2" != "yes" - then - CPPFLAGS="$CPPFLAGS -I$with_sasl2/include" - LDFLAGS="$LDFLAGS -L$with_sasl2/lib" - fi - - saved_LIBS="$LIBS" - - AC_CHECK_LIB(sasl2, sasl_client_init,, - AC_MSG_ERROR([could not find libsasl]),) - - MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_sasl.o" - MUTTLIBS="$MUTTLIBS -lsasl2" - LIBS="$saved_LIBS" - AC_DEFINE(USE_SASL,1, - [ Define if want to use the Cyrus SASL library for POP/IMAP authentication. ]) - AC_DEFINE(USE_SASL2,1, - [ Define if want to use version 2 of the Cyrus SASL library. ]) - need_sasl=yes - need_md5=no - fi - ]) -AM_CONDITIONAL(USE_SASL, test x$need_sasl = xyes) - -AC_ARG_WITH(sasl2, [ --with-sasl2[=PFX] Use Cyrus SASL library version 2 for POP/IMAP authentication], +AC_ARG_WITH(sasl2, [ --with-sasl2[=PFX] Use Cyrus SASL library version 2 for POP/IMAP authentication], [ if test "$need_socket" != "yes" then @@ -750,7 +717,7 @@ AC_SUBST(LIBIMAPDEPS) dnl -- iconv/gettext -- -AC_ARG_ENABLE(iconv, [ --disable-iconv Disable iconv support], +AC_ARG_ENABLE(iconv, [ --disable-iconv Disable iconv support], [if test x$enableval = xno ; then am_cv_func_iconv=no fi diff --git a/m4/gettext.m4 b/m4/gettext.m4 index af14db16..4e2c4eca 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -50,7 +50,7 @@ AC_DEFUN([MUTT_AM_WITH_NLS], [AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, - [ --disable-nls do not use Native Language Support], + [ --disable-nls Do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) @@ -66,7 +66,7 @@ AC_DEFUN([MUTT_AM_WITH_NLS], is requested.]) AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, - [ --with-included-gettext use the GNU gettext library included here], + [ --with-included-gettext Use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) diff --git a/m4/iconv.m4 b/m4/iconv.m4 index 9ce6d0ca..601be4cb 100644 --- a/m4/iconv.m4 +++ b/m4/iconv.m4 @@ -8,7 +8,7 @@ AC_DEFUN([MUTT_AM_ICONV], dnl those with the standalone portable GNU libiconv installed). AC_ARG_WITH([libiconv-prefix], -[ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [ +[ --with-libiconv-prefix=DIR Search for libiconv in DIR/include and DIR/lib], [ for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi