]> granicus.if.org Git - neomutt/commitdiff
Fix a charmap configuration flaw. From Gero Treuner.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 14 Mar 2000 20:36:39 +0000 (20:36 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 14 Mar 2000 20:36:39 +0000 (20:36 +0000)
configure.in

index d2090c5b43f1184744f8e1bf8e64e54c48627d30..d78e52fb9d84b3dd0e35d3d0bd952e1d846c778e 100644 (file)
@@ -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