# HG changeset patch # User wight # Date 1087282862 0 # Node ID bf1868bd29283aae9c0fe8cc8d8748b5390b6622 # Parent 2e8d513720f7c95b04363c4fa80e076f875c6be0 Make configure point to translated docs diff -r 2e8d513720f7 -r bf1868bd2928 configure --- a/configure Mon Jun 14 21:13:45 2004 +0000 +++ b/configure Tue Jun 15 07:01:02 2004 +0000 @@ -2038,6 +2038,8 @@ 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 @@ 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" = 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" = 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 @@ 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 @@ 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 @@ 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