summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-24 15:38:20 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-24 15:38:20 +0000
commit38137d514ca81cf7c16219c23e9eb7eda845fbbd (patch)
tree1538a66de73671ff21c24096b35497bcd729f74f /configure
parent52839fdedb2a2ea6b5f1c7c7c5b911261924da14 (diff)
downloadmpv-38137d514ca81cf7c16219c23e9eb7eda845fbbd.tar.bz2
mpv-38137d514ca81cf7c16219c23e9eb7eda845fbbd.tar.xz
Fix configure hanging forever in iconv check using --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27343 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 071e27393b..63eb286e27 100755
--- a/configure
+++ b/configure
@@ -7465,7 +7465,7 @@ else
_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