From 38947e15d9329dd6f82dff4c72220509b39a6057 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 26 Jun 2000 10:56:52 +0000 Subject: [PATCH] Iconv detection patch. From Lars Hecking. --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.40.0