]> granicus.if.org Git - mutt/commitdiff
Make building mutt without iconv support possible. From EGE.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 6 Nov 2000 11:25:45 +0000 (11:25 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 6 Nov 2000 11:25:45 +0000 (11:25 +0000)
configure.in

index 758e06ddd1ba1bf686ecb401a6cef1a2f22e2fcb..0f8bd237e2dbc264ccd101fb62d219f291f55976 100644 (file)
@@ -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],