[Mplayer-cvslog] CVS: main configure,1.569,1.570

Arpi of Ize arpi at mplayerhq.hu
Sun Sep 22 18:31:24 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv18748

Modified Files:
	configure 
Log Message:
help*.h files moved to help/ subdir


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.569
retrieving revision 1.570
diff -u -r1.569 -r1.570
--- configure	20 Sep 2002 01:26:39 -0000	1.569
+++ configure	22 Sep 2002 16:31:21 -0000	1.570
@@ -104,7 +104,7 @@
   *)	_echo_n='-n '	_echo_c=	;;	# BSD echo
 esac
 
-LANGUAGES=`echo help_mp-??.h help_mp-??_??.h | sed "s/help_mp-\(..\).h/\1/g" |sed "s/help_mp-\(.....\).h/\1/g"`
+LANGUAGES=`echo help/help_mp-??.h help/help_mp-??_??.h | sed "s/help_mp-\(..\).h/\1/g" |sed "s/help_mp-\(.....\).h/\1/g"`
 
 for parm in "$@" ; do
   if test "$parm" = "--help" || test "$parm" = "-help" || test "$parm" = "-h" ; then
@@ -1484,14 +1484,14 @@
 
 echocheck "language"
 test -z "$LINGUAS" && LINGUAS="en"
-if test -f "help_mp-${LINGUAS}.h" ; then
+if test -f "help/help_mp-${LINGUAS}.h" ; then
   echores "using ${LINGUAS}"
 else
   echores "${LINGUAS} not found, using en"
   LINGUAS="en"
 fi
-_mp_help="help_mp-${LINGUAS}.h"
-test -f help_mp-${LINGUAS}.h || die "help_mp-${LINGUAS}.h not found"
+_mp_help="help/help_mp-${LINGUAS}.h"
+test -f $_mp_help || die "$_mp_help not found"
 
 echocheck "enable sighandler"
 if test "$_sighandler" = yes ; then
@@ -4881,9 +4881,9 @@
 #include "$_mp_help"
 EOF
 
-if test $_mp_help != "help_mp-en.h"; then
+if test $_mp_help != "help/help_mp-en.h"; then
   echo "Adding untranslated messages to help_mp.h"
-  ./help_diff.sh $_mp_help <help_mp-en.h >> help_mp.h
+  help/help_diff.sh $_mp_help <help/help_mp-en.h >> help_mp.h
 fi
 
 #############################################################################




More information about the MPlayer-cvslog mailing list