diff options
-rwxr-xr-x | configure | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 |