From: Thomas Roessler Date: Mon, 26 Jun 2000 10:56:52 +0000 (+0000) Subject: Iconv detection patch. From Lars Hecking. X-Git-Tag: mutt-1-3-5-rel~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38947e15d9329dd6f82dff4c72220509b39a6057;p=mutt Iconv detection patch. From Lars Hecking. --- diff --git a/configure.in b/configure.in index dd2cbe0f..148ca120 100644 --- a/configure.in +++ b/configure.in @@ -395,6 +395,15 @@ AC_ARG_WITH(sharedir, [ --with-sharedir=PATH Specify where to put arch in sharedir=$mutt_cv_sharedir AC_SUBST(sharedir) +AC_ARG_WITH(iconv, [ --with-iconv=DIR Where libiconv is installed ], + [if test $withval != yes; then + mutt_cv_iconv=$withval + fi + if test x$mutt_cv_iconv != x/usr; then + CPPFLAGS="$CPPFLAGS -I${mutt_cv_iconv}/include" + LDFLAGS="-L${mutt_cv_iconv}/lib $LDFLAGS" + fi]) + LIBICONV= AC_CACHE_CHECK(for iconv, mutt_cv_func_iconv, [ mutt_cv_func_iconv=no