From: Thomas Roessler Date: Mon, 6 Nov 2000 11:25:45 +0000 (+0000) Subject: Make building mutt without iconv support possible. From EGE. X-Git-Tag: mutt-1-3-12-rel~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9e442ae57254bac04b16bb41824db730a16f478;p=mutt Make building mutt without iconv support possible. From EGE. --- diff --git a/configure.in b/configure.in index 758e06dd..0f8bd237 100644 --- a/configure.in +++ b/configure.in @@ -406,7 +406,9 @@ AC_ARG_WITH(iconv, [ --with-iconv=DIR Where libiconv is installed ], fi]) LIBICONV= + if test "$mutt_cv_iconv" != no; then + AC_CACHE_CHECK(for iconv, mutt_cv_func_iconv, [ mutt_cv_func_iconv=no mutt_cv_lib_iconv=no @@ -432,7 +434,6 @@ if test "$mutt_cv_lib_iconv" = yes; then LIBICONV="-liconv" fi AC_DEFINE(HAVE_ICONV) -fi AC_SUBST(LIBICONV) @@ -501,6 +502,10 @@ else AC_DEFINE(ICONV_NONTRANS, 0) fi +else # "$mutt_cv_iconv" != no + AC_DEFINE(ICONV_NONTRANS, 0) +fi + AC_MSG_CHECKING(where to put the documentation) AC_ARG_WITH(docdir, [ --with-docdir=PATH Specify where to put the documentation], [mutt_cv_docdir=$withval],