[MPlayer-dev-eng] Re: install localized manpages + [PATCH#3]

Andriy N. Gritsenko andrej at lucky.net
Thu Feb 20 09:49:12 CET 2003


    Hi, Gabucino!

Sometime (on Thursday, February 20 at  8:07) I've received something...
>Andriy N. Gritsenko wrote:
>> Fixed patch attached.
>Congratulations:

>Checking for awk ... mawk
>Checking for extra headers ... none
>Checking for extra libs ... none
>Checking for i18n ... yes
>Checking for setlocale() ... yes
>Checking for language ... de
>en
>fr
>hu
>it
>pl
>ru
>zh not found, using en

    Who did use name LINGUAS for select help/help_mp-${LINGUAS}.h ? ;-)
Patch for that attached. Sorry, I didn't found that out before.

    With best wishes.
    Andriy.
-------------- next part --------------
--- configure.orig	Wed Feb 19 19:26:59 2003
+++ configure	Thu Feb 20 10:33:56 2003
@@ -1269,7 +1269,7 @@ for ac_option do
   --disable-sortsub) _sortsub=no ;;
 
   --language=*)
-    LINGUAS=`echo $ac_option | cut -d '=' -f 2`
+    LANGUAGE=`echo $ac_option | cut -d '=' -f 2`
     ;;
   --with-libdvdnav=*)
     _dvdnavdir=`echo $ac_option | cut -d '=' -f 2`
@@ -1585,7 +1585,7 @@ EOF
 fi
 if test "$_i18n" = yes ; then
   _def_i18n='#define USE_I18N 1'
-#  LINGUAS='en' # force help_mp-en.h
+#  LANGUAGE='en' # force help_mp-en.h
 else
   _def_i18n='#undef USE_I18N'
 fi
@@ -1617,14 +1617,14 @@ echores "$_setlocale"
 
 
 echocheck "language"
-test -z "$LINGUAS" && LINGUAS="en"
-if test -f "help/help_mp-${LINGUAS}.h" ; then
-  echores "using ${LINGUAS}"
+test -z "$LANGUAGE" && LANGUAGE="en"
+if test -f "help/help_mp-${LANGUAGE}.h" ; then
+  echores "using ${LANGUAGE}"
 else
-  echores "${LINGUAS} not found, using en"
+  echores "${LANGUAGE} not found, using en"
   LINGUAS="en"
 fi
-_mp_help="help/help_mp-${LINGUAS}.h"
+_mp_help="help/help_mp-${LANGUAGE}.h"
 test -f $_mp_help || die "$_mp_help not found"
 
 echocheck "enable sighandler"
@@ -4871,7 +4871,7 @@ cat > config.mak << EOF
 # -------- Generated by configure -----------
 
 LANG = C
-LINGUAS = $LINGUAS
+LINGUAS = $LANGUAGE
 LANGUAGES = $LANGUAGES
 TARGET_OS = $system_name
 DESTDIR =


More information about the MPlayer-dev-eng mailing list