summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-10 20:11:38 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-10 20:11:38 +0000
commitc75969c4141293147a6bb39df18597537b4bd835 (patch)
tree5bbfea8ee05e647b7e949ddb1f3d1e3ff1443653 /configure
parent35717af1e25f50059247d1923cf8a3e7fac07ff5 (diff)
downloadmpv-c75969c4141293147a6bb39df18597537b4bd835.tar.bz2
mpv-c75969c4141293147a6bb39df18597537b4bd835.tar.xz
Do not require iconv program with --charset=noconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18674 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 7 insertions, 6 deletions
diff --git a/configure b/configure
index a1ed18cfa8..6d48c3f9a8 100755
--- a/configure
+++ b/configure
@@ -7114,23 +7114,24 @@ else
_def_charset="#undef MSG_CHARSET"
fi
+if test "$_charset" = `cat ${_mp_help}.charset` ; then
+ # hack to disable conversion in the Makefile
+ _charset=""
+fi
+
+if test "$_charset" ; then
echocheck "iconv program"
iconv -f `cat ${_mp_help}.charset` -t $_charset ${_mp_help} > /dev/null 2>> "$TMPLOG"
if test "$?" -ne 0 ; then
echores "no"
- if test "$_charset" != `cat ${_mp_help}.charset` ; then
echo "No working iconv program found, use "
echo "--charset=`cat ${_mp_help}.charset` to continue anyway."
+ echo "If you also have problems with iconv library functions use --charset=noconv."
echo "Messages in the GTK-2 interface will be broken then."
exit 1
- fi
else
echores "yes"
fi
-
-if test "$_charset" = `cat ${_mp_help}.charset` ; then
- # hack to disable conversion in the Makefile
- _charset=""
fi
#############################################################################