From: Thomas Roessler Date: Tue, 14 Mar 2000 20:36:39 +0000 (+0000) Subject: Fix a charmap configuration flaw. From Gero Treuner. X-Git-Tag: mutt-1-1-10-rel~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a9435ebdb2242095d1ffd6b3e055e4db5472b15;p=mutt Fix a charmap configuration flaw. From Gero Treuner. --- diff --git a/configure.in b/configure.in index d2090c5b..d78e52fb 100644 --- a/configure.in +++ b/configure.in @@ -381,11 +381,14 @@ AC_SUBST(sharedir) mutt_cv_charmaps=/usr/share/i18n/charmaps AC_ARG_WITH(charmaps, [ --with-charmaps=PATH Where to find character set definitions], - [mutt_cv_charmaps=$withval]) + [if test x$withval != x -a $withval != yes ; then + mutt_cv_charmaps=$withval + fi], + [mutt_cv_charmaps=no]) mutt_cv_fake_charmaps=yes -AC_MSG_CHECKING(whether character set definitions on your system are usable) +AC_MSG_CHECKING(whether character set definitions are desired and usable) if test ! -f $mutt_cv_charmaps/ISO_10646 ; then AC_MSG_RESULT(no) mutt_cv_charmaps=$mutt_cv_sharedir/charmaps