changeset 27311:f8711d691a46

Fix configure hanging forever in iconv check using --charset=noconv
author reimar
date Thu, 24 Jul 2008 15:38:20 +0000
parents dc95754a8e9f
children f058ded683db
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jul 24 15:00:37 2008 +0000
+++ b/configure	Thu Jul 24 15:38:20 2008 +0000
@@ -7465,7 +7465,7 @@
   _def_charset="#undef MSG_CHARSET"
 fi
 
-if test "$_charset" != "UTF-8" ; then
+if test -n "$_charset" && test "$_charset" != "UTF-8" ; then
 echocheck "iconv program"
 iconv -f UTF-8 -t $_charset ${_mp_help} > /dev/null 2>> "$TMPLOG"
 if test "$?" -ne 0 ; then