Commit c9e442ae authored by Thomas Roessler's avatar Thomas Roessler

Make building mutt without iconv support possible. From EGE.

parent cb842230
......@@ -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],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment