[Mplayer-cvslog] CVS: main configure,1.869,1.870

Torinthiel CVS syncmail at mplayerhq.hu
Tue Jun 15 09:01:04 CEST 2004


CVS change done by Torinthiel CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv23301

Modified Files:
	configure 
Log Message:
Make configure point to translated docs

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.869
retrieving revision 1.870
diff -u -r1.869 -r1.870
--- configure	13 Jun 2004 16:44:34 -0000	1.869
+++ configure	15 Jun 2004 07:01:02 -0000	1.870
@@ -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
 




More information about the MPlayer-cvslog mailing list