summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-15 07:01:02 +0000
committerwight <wight@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-15 07:01:02 +0000
commitd033bfef86ba2f44d0408ea4261615bc1b62368e (patch)
tree87bd8b484f21f22d6ab362f46173488a23650017
parentaeef779ba61e23f061b06a7be26888445c9922fd (diff)
downloadmpv-d033bfef86ba2f44d0408ea4261615bc1b62368e.tar.bz2
mpv-d033bfef86ba2f44d0408ea4261615bc1b62368e.tar.xz
Make configure point to translated docs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12590 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure14
1 files changed, 8 insertions, 6 deletions
diff --git a/configure b/configure
index c54ae330c7..1c3fa45e53 100755
--- a/configure
+++ b/configure
@@ -2038,6 +2038,8 @@ done
echores "using $_language (man pages: $LANGUAGES)"
_mp_help="help/help_mp-${_language}.h"
test -f $_mp_help || die "$_mp_help not found"
+_doc_lang=$_language
+test -d DOCS/xml/$_doc_lang || _doc_lang=en
echocheck "enable sighandler"
if test "$_sighandler" = yes ; then
@@ -2240,7 +2242,7 @@ EOF
if test "$_inttypes" = yes ; then
die "You don't have inttypes.h, but sys/bitypes.h is present. Please copy etc/inttypes.h into the include path, and re-run configure."
else
- die "Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html)."
+ die "Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/$_doc_lang/faq.html)."
fi
fi
echores "$_inttypes"
@@ -4977,7 +4979,7 @@ if test "$_xanim" = auto ; then
if test "$_xanim" = yes ; then
echores "yes (using $_xanimlibdir)"
else
- echores "no (no suitable directory found - see DOCS/HTML/en/codecs.html)"
+ echores "no (no suitable directory found - see DOCS/HTML/$_doc_lang/codecs.html)"
fi
else
echores "no (dynamic loader support needed)"
@@ -5021,7 +5023,7 @@ if test "$_real" = auto ; then
if test "$_real" = yes ; then
echores "yes (using $_reallibdir)"
else
- echores "no (no suitable directory found - see DOCS/HTML/en/codecs.html)"
+ echores "no (no suitable directory found - see DOCS/HTML/$_doc_lang/codecs.html)"
fi
fi
else
@@ -5089,7 +5091,7 @@ if test "$_libavcodec" = auto ; then
echores "no (old ffmpeg version, use CVS !)"
fi
else
- echores "no (see DOCS/HTML/en/codecs.html)"
+ echores "no (see DOCS/HTML/$_doc_lang/codecs.html)"
fi
else
echores "$_libavcodec"
@@ -6770,7 +6772,7 @@ EOF
if test "$_mtrr" = yes ; then
- echo "Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/devices.html#mtrr)"
+ echo "Please check mtrr settings at /proc/mtrr (see DOCS/HTML/$_doc_lang/devices.html#mtrr)"
echo
fi
@@ -6818,7 +6820,7 @@ cat <<EOF
Check $TMPLOG if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
-If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
+If you suspect a bug, please read DOCS/HTML/$_doc_lang/bugreports.html.
EOF