From: "Juan Manuel Guerrero" Organization: Darmstadt University of Technology To: djgpp-workers AT delorie DOT com Date: Wed, 21 Feb 2001 19:59:29 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: gettext pretest available CC: Eli Zaretskii , Bruno Haible In-reply-to: <29F40F30739@HRZ1.hrz.tu-darmstadt.de> X-mailer: Pegasus Mail for Windows (v2.54DE) Message-ID: <2A29E765EBE@HRZ1.hrz.tu-darmstadt.de> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk This patch implements DJGPP specific support to gettext-2001-02-05.tgz The patch is splited into 3 parts. Patch 1/3 ChangeLog for intl directory. * config.charset: Update for DJGPP 2.03. * dcigettext.c (DCIGETTEXT): Use IS_ABSOLUTE_PATH instead of hardcoded '/'. * gettextP.h [O_BINARY]: New macros READ, WRITE, OPENED_IN_BINARY_MODE, IS_ABSOLUTE_PATH and PATH_SEPARATOR. * libgnuintl.h: [DJGPP] Resolve function name collision. * localcharset.c: [DJGPP] Inhibit the usage of setlocale() for DJGPP 2.03 and prior. (get_charset_aliases): Use READ instead of hardcoded 'r' in fopen(). (get_charset_aliases) [OPENED_IN_BINARY_MODE]: Check for DOS-style EOL (CRLF) too. * localealias.c (_nl_expand_alias): Use PATH_SEPARATOR instead of hardcoded ':'. (read_alias_file): Use READ instead of hardcoded 'r' in fopen(). * system.h [O_BINARY]: New macros READ, WRITE OPENED_IN_BINARY_MODE, IS_ABSOLUTE_PATH and PATH_SEPARATOR. [O_BINARY] include for setmode() definition and for isatty() definition. [O_BINARY] [DJGPP]: Use own basename() instead of supplied one. ChangeLog for src directory. * Makefile.am: Add @LIBICONV@ to LDADD. * message.c (message_list_print): Use WRITE instead of hardcoded 'w' in fopen(). * msgcomm.c (main): Use IS_ABSOLUTE_PATH instead of hardcoded '/'. read_name_from_file(): Use READ instead of hardcoded 'r' in fopen(). (read_name_from_file) [OPENED_IN_BINARY_MODE]: Allow reading text mode files as binary mode files. * msgfmt.c (main): On Non-posix systems check if stdin/stdout is connected to console before switching in to binary mode. * msgunfmt.c (read_mo_file): On Non-posix systems check if stdin/stdout is connected to console before switching in to binary mode. * open-po.c (open_po_file): Use IS_ABSOLUTE_PATH instead of hardcoded '/'. (open_po_file): Use READ instead of hardcoded 'r' in fopen(). * po-lex.c (lex_getc) [OPENED_IN_BINARY_MODE]: Check for DOS-style EOL (CRLF) too. * xget-lex.c (xgettext_lex_open): Use IS_ABSOLUTE_PATH instead of hardcoded '/'. (xgettext_lex_open): Use READ instead of hardcoded 'r' in fopen(). * xgettext.c (main): Use IS_ABSOLUTE_PATH instead of hardcoded '/'. (read_name_from_file): Use READ instead of hardcoded 'r' in fopen(). (read_name_from_file) [OPENED_IN_BINARY_MODE]: Check and remove DOS-style EOL (CRLF) too. ChangeLog for tests directory. * Makefile.am: Add @LIBICONV@ to LDADD. diff -acprNC5 gettext-2001-02-05.orig/djgpp/config.bat gettext-2001-02-05/djgpp/config.bat *** gettext-2001-02-05.orig/djgpp/config.bat Thu Jan 1 00:00:00 1970 --- gettext-2001-02-05/djgpp/config.bat Sat Feb 17 12:03:16 2001 *************** *** 0 **** --- 1,173 ---- + @echo off + echo Configuring GNU Gettext for DJGPP v2.x... + Rem The SmallEnv tests protect against fixed and too small size + Rem of the environment in stock DOS shell. + + Rem Find out if NLS is wanted or not + Rem and where the sources are. + Rem We always default to NLS support + Rem and to in place configuration. + set NLS=enabled + if not "%NLS%" == "enabled" goto SmallEnv + set XSRC=. + if not "%XSRC%" == "." goto SmallEnv + + Rem This checks the case: + Rem %1 contains the NLS option. + Rem %2 contains the src path option. + if "%1" == "" goto InPlace + if "%1" == "NLS" goto SrcDir2 + if not "%1" == "no-NLS" goto SrcDir1 + set NLS=disabled + if not "%NLS%" == "disabled" goto SmallEnv + :SrcDir2 + Rem Find out where the sources are + if "%2" == "" goto InPlace + set XSRC=%2 + if not "%XSRC%" == "%2" goto SmallEnv + goto NotInPlace + + Rem This checks the case: + Rem %1 contains the src path option. + Rem %2 contains the NLS option. + :SrcDir1 + Rem Find out where the sources are + if "%1" == "" goto InPlace + set XSRC=%1 + if not "%XSRC%" == "%1" goto SmallEnv + if "%2" == "" goto NotInPlace + if "%2" == "NLS" goto NotInPlace + if not "%2" == "no-NLS" goto NotInPlace + set NLS=disabled + if not "%NLS%" == "disabled" goto SmallEnv + + :NotInPlace + redir -e /dev/null update %XSRC%/configure.orig ./configure + test -f ./configure + if errorlevel 1 update %XSRC%/configure ./configure + + :InPlace + Rem Update configuration files + echo Updating configuration scripts... + test -f ./configure.orig + if errorlevel 1 update configure configure.orig + sed -f %XSRC%/djgpp/config.sed configure.orig > configure + if errorlevel 1 goto SedError + + Rem Make sure they have a config.site file + set CONFIG_SITE=%XSRC%/djgpp/config.site + if not "%CONFIG_SITE%" == "%XSRC%/djgpp/config.site" goto SmallEnv + + Rem Make sure crucial file names are not munged by unpacking + test -f %XSRC%/config.h.in + if not errorlevel 1 mv -f %XSRC%/config.h.in %XSRC%/config.h-in + test -f %XSRC%/po/Makefile.in.in + if not errorlevel 1 mv -f %XSRC%/po/Makefile.in.in %XSRC%/po/Makefile.in-in + + Rem Fix src/po-lex.c + test -f %XSRC%/src/po-lex.orig + if errorlevel 1 update %XSRC%/src/po-lex.c %XSRC%/src/po-lex.orig + sed "s/po-gram-gen2.h/po-gram_gen2.h/g" %XSRC%/src/po-lex.c > po-lex.tmp + if errorlevel 1 goto SedError + update ./po-lex.tmp %XSRC%/src/po-lex.c + rm ./po-lex.tmp + + Rem This is required because DOS/Windows are case-insensitive + Rem to file names, and "make install" will do nothing if Make + Rem finds a file called `install'. + if exist INSTALL mv -f INSTALL INSTALL.txt + + Rem install-sh is required by the configure script but clashes with the + Rem various Makefile install-foo targets, so we MUST have it before the + Rem script runs and rename it afterwards + test -f %XSRC%/install-sh + if not errorlevel 1 goto NoRen0 + test -f %XSRC%/install-sh.sh + if not errorlevel 1 mv -f %XSRC%/install-sh.sh %XSRC%/install-sh + :NoRen0 + + Rem Set HOSTNAME so it shows in config.status + if not "%HOSTNAME%" == "" goto hostdone + if "%windir%" == "" goto msdos + set OS=MS-Windows + if not "%OS%" == "MS-Windows" goto SmallEnv + goto haveos + :msdos + set OS=MS-DOS + if not "%OS%" == "MS-DOS" goto SmallEnv + :haveos + if not "%USERNAME%" == "" goto haveuname + if not "%USER%" == "" goto haveuser + echo No USERNAME and no USER found in the environment, using default values + set HOSTNAME=Unknown PC + if not "%HOSTNAME%" == "Unknown PC" goto SmallEnv + goto userdone + :haveuser + set HOSTNAME=%USER%'s PC + if not "%HOSTNAME%" == "%USER%'s PC" goto SmallEnv + goto userdone + :haveuname + set HOSTNAME=%USERNAME%'s PC + if not "%HOSTNAME%" == "%USERNAME%'s PC" goto SmallEnv + :userdone + set _HOSTNAME=%HOSTNAME%, %OS% + if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv + set HOSTNAME=%_HOSTNAME% + :hostdone + set _HOSTNAME= + set OS= + + if "%NLS%" == "disabled" goto WithoutNLS + echo Running the ./configure script... + sh ./configure --srcdir=%XSRC% --enable-nls --with-included-gettext + if errorlevel 1 goto CfgError + echo Done. + goto ScriptEditing + + :WithoutNLS + echo Running the ./configure script... + sh ./configure --srcdir=%XSRC% --disable-nls + if errorlevel 1 goto CfgError + echo Done. + + :ScriptEditing + Rem DJGPP specific editing of test scripts. + test -f %XSRC%/tests/stamp-test + if not errorlevel 1 goto End + if "%XSRC%" == "." goto NoDirChange + cd | sed "s|:.*$|:|" > cd_BuildDir.bat + cd | sed "s|^.:|cd |" >> cd_BuildDir.bat + mv -f cd_BuildDir.bat %XSRC%/cd_BuildDir.bat + echo %XSRC% | sed -e "s|^/dev/||" -e "s|/|:|" -e "s|:.*$|:|g" > cd_SrcDir.bat + echo %XSRC% | sed -e "s|^/dev/||" -e "s|/|:/|" -e "s|^.*:|cd |" -e "s|^\.\.|cd &|" -e "s|/|\\|g" >> cd_SrcDir.bat + call cd_SrcDir.bat + call djgpp\edtests.bat + call cd_BuildDir.bat + rm -f cd_SrcDir.bat cd_BuildDir.bat %XSRC%/cd_BuildDir.bat + goto End + :NoDirChange + call djgpp\edtests.bat + goto End + + :SedError + echo ./configure script editing failed! + goto End + + :CfgError + echo ./configure script exited abnormally! + goto End + + :SmallEnv + echo Your environment size is too small. Enlarge it and run me again. + echo Configuration NOT done! + + :End + test -f %XSRC%/install-sh.sh + if not errorlevel 1 goto NoRen1 + test -f %XSRC%/install-sh + if not errorlevel 1 mv -f %XSRC%/install-sh %XSRC%/install-sh.sh + :NoRen1 + set CONFIG_SITE= + set HOSTNAME= + set NLS= + set XSRC= diff -acprNC5 gettext-2001-02-05.orig/djgpp/config.sed gettext-2001-02-05/djgpp/config.sed *** gettext-2001-02-05.orig/djgpp/config.sed Thu Jan 1 00:00:00 1970 --- gettext-2001-02-05/djgpp/config.sed Fri Feb 16 18:12:28 2001 *************** *** 0 **** --- 1,128 ---- + # Additional editing of Makefiles + /@GMSGFMT@/ s,\$GMSGFMT,msgfmt, + /@MSGFMT@/ s,\$MSGFMT,msgfmt, + /@XGETTEXT@/ s,\$XGETTEXT,xgettext, + /ac_given_INSTALL=/,/^CEOF/ { + /^CEOF$/ i\ + # DJGPP specific Makefile changes.\ + /^aliaspath * *=/s,:,";",g\ + /^lispdir * *=/ c\\\\\ + lispdir = \\$(prefix)/gnu/emacs/site-lisp\ + /TEXINPUTS=/s,:,";",g\ + /PATH=/s,:,";",g\ + s,\\.old\\.,_old.,g\ + s,\\.tab\\.c,_tab.c,g\ + s,\\.tab\\.h,_tab.h,g\ + s,gettext-1,gettext.1,g\ + s,gettext-2,gettext.2,g\ + s,msgcmp-1,msgcmp.1,g\ + s,msgcmp-2,msgcmp.2,g\ + s,msgfmt-1,msgfmt.1,g\ + s,msgfmt-2,msgfmt.2,g\ + s,msgfmt-3,msgfmt.3,g\ + s,msgfmt-4,msgfmt.4,g\ + s,msgmerge-1,msgmerge.1,g\ + s,msgmerge-2,msgmerge.2,g\ + s,msgmerge-3,msgmerge.3,g\ + s,msgmerge-4,msgmerge.4,g\ + s,msgmerge-5,msgmerge.5,g\ + s,msgunfmt-1,msgunfmt.1,g\ + s,xgettext-1,xgettext.1,g\ + s,xgettext-2,xgettext.2,g\ + s,xgettext-3,xgettext.3,g\ + s,xgettext-4,xgettext.4,g\ + s,xgettext-5,xgettext.5,g\ + s,xgettext-6,xgettext.6,g\ + s,xgettext-7,xgettext.7,g\ + s,xgettext-8,xgettext.8,g\ + s,xgettext-9,xgettext.9,g\ + s,xg-test1\\.ok\\.po,xg-test1.ok-po,g\ + /^TESTS[ ]*=/ s,plural-1,plural.1,g\ + s,config\\.h\\.in,config.h-in,g\ + s,Makefile\\.in\\.in,Makefile.in-in,g\ + /^install-info-am:/,/^$/ {\ + /@list=/ s,\\\$(INFO_DEPS),& gettext.i,\ + s,file-\\[0-9\\]\\[0-9\\],& \\$\\$file[0-9] \\$\\$file[0-9][0-9],\ + }\ + /^iso-apdx\\.texi * *:.*$/ {\ + s,iso-apdx,\\$(srcdir)/&,g\ + s,ISO_639,\\$(srcdir)/&,\ + }\ + /^# Some rules for yacc handling\\./,$ {\ + /\\\$(YACC)/ a\\\\\ + -@test -f y.tab.c && mv -f y.tab.c y_tab.c\\\\\ + -@test -f y.tab.h && mv -f y.tab.h y_tab.h\ + }\ + /^POTFILES:/,/^$/ s,\\\$@-t,t-\\$@,g\ + s,basename\\.o,,g\ + s,po-gram-gen2\\.h,po-gram_gen2.h,g + } + + # Makefile.in.in is renamed to Makefile.in-in... + /^CONFIG_FILES=/,/^EOF/ { + s|po/Makefile\.in|&:po/Makefile.in-in| + } + + # ...and config.h.in into config.h-in + /^ *CONFIG_HEADERS=/,/^EOF/ { + s|config\.h|&:config.h-in| + } + + # The same as above but this time + # for configure scripts created with Autoconf 2.14a. + /^config_files="\\\\/,/^$/ { + s|po/Makefile\.in|&:po/Makefile.in-in| + } + /^config_headers="\\\\/,/^$/ { + s|config\.h|&:config.h-in| + } + /# Handling of arguments./,/^$/ { + s|po/Makefile\.in|&:po/Makefile.in-in|2 + s|config\.h|&:config.h-in|2 + } + + # Replace (command) > /dev/null with `command > /dev/null`, since + # parenthesized commands always return zero status in the ported Bash, + # even if the named command doesn't exist + /if ([^|;]*null/{ + s,(,`, + s,),, + s,; *then,`; then, + } + + # DOS-style absolute file names should be supported as well + /\*) srcdir=/s,/\*,[\\\\/]* | [A-z]:[\\\\/]*, + /\$]\*) INSTALL=/s,\[/\$\]\*,[\\\\/$]* | [A-z]:[\\\\/]*, + /\$]\*) ac_rel_source=/s,\[/\$\]\*,[\\\\/$]* | [A-z]:[\\\\/]*, + + # Switch the order of the two Sed commands, since DOS path names + # could include a colon + /ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1, + + # Prevent the spliting of conftest.subs. + # The sed script: conftest.subs is split into 48 or 90 lines long files. + # This will produce sed scripts called conftest.s1, conftest.s2, etc. + # that will not work if conftest.subs contains a multi line sed command + # at line #90. In this case the first part of the sed command will be the + # last line of conftest.s1 and the rest of the command will be the first lines + # of conftest.s2. So both script will not work properly. + # This matches the configure script produced by Autoconf 2.12 + /ac_max_sed_cmds=[0-9]/ s,=.*$,=`sed -n "$=" conftest.subs`, + # This matches the configure script produced by Autoconf 2.14a + /ac_max_sed_lines=[0-9]/ s,=.*$,=`sed -n "$=" $ac_cs_root.subs `, + + # The following two items are changes needed for configuring + # and compiling across partitions. + # 1) The given srcdir value is always translated from the + # "x:" syntax into "/dev/x" syntax while we run configure. + /^[ ]*-srcdir=\*.*$/ a\ + ac_optarg=`echo "$ac_optarg" | sed "s,^\\([A-Za-z]\\):,/dev/\\1,"` + /set X `ls -Lt \$srcdir/ i\ + if `echo $srcdir | grep "^/dev/" - > /dev/null`; then\ + srcdir=`echo "$srcdir" | sed -e "s%^/dev/%%" -e "s%/%:/%"`\ + fi + + # 2) We need links across partitions, so we will use "cp -p" instead of "ln". + /# Make a symlink if possible; otherwise try a hard link./,/EOF/ { + s,;.*then, 2>/dev/null || cp -p \$srcdir/\$ac_source \$ac_dest&, + } diff -acprNC5 gettext-2001-02-05.orig/djgpp/config.site gettext-2001-02-05/djgpp/config.site *** gettext-2001-02-05.orig/djgpp/config.site Thu Jan 1 00:00:00 1970 --- gettext-2001-02-05/djgpp/config.site Tue Feb 20 11:22:08 2001 *************** *** 0 **** --- 1,43 ---- + #! /bin/sh + + # These two variables are required, otherwise looking for + # programs along the PATH will not work. + PATH_SEPARATOR=: + PATH_EXPAND=y + + # This is required in for "test -f foo" to find foo.exe + export TEST_FINDS_EXE=y + + # The root of the DJGPP tree serves as the default prefix + # for all paths that are hardcoded in the binaries. + # When installing the installation prefix must be supplied. + test "x$prefix" = xNONE && prefix='/dev/env/DJDIR' + + # This is required for config.status script to be run, since + # ./configure runs it by invoking ${CONFIG_SHELL-/bin/sh} + # CONFIG_SHELL=${CONFIG_SHELL='sh'} + + # These are set here so the generated Makefile's will be good + # for every DJGPP installation, not only the one where the + # package was configured. + # $INSTALL must be an absolute path name, otherwise config.status + # will try to prepend ./ and ../ to it when it goes into subdirs. + INSTALL=${INSTALL='/dev/env/DJDIR/bin/ginstall -c'} + RANLIB=${RANLIB='ranlib'} + + # A sane defualt for emacs. + ac_cv_path_EMACS=${EMACS='/dev/env/DJDIR/gnu/emacs/bin/emacs'} + + # These are set here so the generated libtool will be good + # for every DJGPP installation, not only the one where the + # package was configured. + NM=${NM='nm'} + LD=${LD='ld'} + + # We always use our own binaries. + GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'} + MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'} + XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'} + + # Force the test for 'ln -s' to report 'cp -p'. + ac_cv_prog_LN_S='cp -p' diff -acprNC5 gettext-2001-02-05.orig/djgpp/edtests.bat gettext-2001-02-05/djgpp/edtests.bat *** gettext-2001-02-05.orig/djgpp/edtests.bat Thu Jan 1 00:00:00 1970 --- gettext-2001-02-05/djgpp/edtests.bat Tue Feb 13 11:59:46 2001 *************** *** 0 **** --- 1,84 ---- + @echo off + echo Editing test scripts in tests/ subdirectory for DJGPP... + test -f ./tests/gettext-1 + if not errorlevel 1 mv -f ./tests/gettext-1 ./tests/gettext.1 + test -f ./tests/gettext-2 + if not errorlevel 1 mv -f ./tests/gettext-2 ./tests/gettext.2 + test -f ./tests/msgcmp-1 + if not errorlevel 1 mv -f ./tests/msgcmp-1 ./tests/msgcmp.1 + test -f ./tests/msgcmp-2 + if not errorlevel 1 mv -f ./tests/msgcmp-2 ./tests/msgcmp.2 + test -f ./tests/msgfmt-1 + if not errorlevel 1 mv -f ./tests/msgfmt-1 ./tests/msgfmt.1 + test -f ./tests/msgfmt-2 + if not errorlevel 1 mv -f ./tests/msgfmt-2 ./tests/msgfmt.2 + test -f ./tests/msgfmt-3 + if not errorlevel 1 mv -f ./tests/msgfmt-3 ./tests/msgfmt.3 + test -f ./tests/msgfmt-4 + if not errorlevel 1 mv -f ./tests/msgfmt-4 ./tests/msgfmt.4 + test -f ./tests/msgmerge-1 + if not errorlevel 1 mv -f ./tests/msgmerge-1 ./tests/msgmerge.1 + test -f ./tests/msgmerge-2 + if not errorlevel 1 mv -f ./tests/msgmerge-2 ./tests/msgmerge.2 + test -f ./tests/msgmerge-3 + if not errorlevel 1 mv -f ./tests/msgmerge-3 ./tests/msgmerge.3 + test -f ./tests/msgmerge-4 + if not errorlevel 1 mv -f ./tests/msgmerge-4 ./tests/msgmerge.4 + sed -f ./djgpp/tscript.sed ./tests/msgmerge.4 > msgmerge.4 + update msgmerge.4 ./tests/msgmerge.4 + rm -f msgmerge.4 + test -f ./tests/msgmerge-5 + if not errorlevel 1 mv -f ./tests/msgmerge-5 ./tests/msgmerge.5 + sed -f ./djgpp/tscript.sed ./tests/msgmerge.5 > msgmerge.5 + update msgmerge.5 ./tests/msgmerge.5 + rm -f msgmerge.5 + test -f ./tests/msgunfmt-1 + if not errorlevel 1 mv -f ./tests/msgunfmt-1 ./tests/msgunfmt.1 + test -f ./tests/xgettext-1 + if not errorlevel 1 mv -f ./tests/xgettext-1 ./tests/xgettext.1 + sed -f ./djgpp/tscript.sed ./tests/xgettext.1 > xgettext.1 + update xgettext.1 ./tests/xgettext.1 + rm -f xgettext.1 + test -f ./tests/xgettext-2 + if not errorlevel 1 mv -f ./tests/xgettext-2 ./tests/xgettext.2 + sed -f ./djgpp/tscript.sed ./tests/xgettext.2 > xgettext.2 + update xgettext.2 ./tests/xgettext.2 + rm -f xgettext.2 + test -f ./tests/xgettext-3 + if not errorlevel 1 mv -f ./tests/xgettext-3 ./tests/xgettext.3 + test -f ./tests/xgettext-4 + if not errorlevel 1 mv -f ./tests/xgettext-4 ./tests/xgettext.4 + sed -f ./djgpp/tscript.sed ./tests/xgettext.4 > xgettext.4 + update xgettext.4 ./tests/xgettext.4 + rm -f xgettext.4 + test -f ./tests/xgettext-5 + if not errorlevel 1 mv -f ./tests/xgettext-5 ./tests/xgettext.5 + sed -f ./djgpp/tscript.sed ./tests/xgettext.5 > xgettext.5 + update xgettext.5 ./tests/xgettext.5 + rm -f xgettext.5 + test -f ./tests/xgettext-6 + if not errorlevel 1 mv -f ./tests/xgettext-6 ./tests/xgettext.6 + sed -f ./djgpp/tscript.sed ./tests/xgettext.6 > xgettext.6 + update xgettext.6 ./tests/xgettext.6 + rm -f xgettext.6 + test -f ./tests/xgettext-7 + if not errorlevel 1 mv -f ./tests/xgettext-7 ./tests/xgettext.7 + sed -f ./djgpp/tscript.sed ./tests/xgettext.7 > xgettext.7 + update xgettext.7 ./tests/xgettext.7 + rm -f xgettext.7 + test -f ./tests/xgettext-8 + if not errorlevel 1 mv -f ./tests/xgettext-8 ./tests/xgettext.8 + sed -f ./djgpp/tscript.sed ./tests/xgettext.8 > xgettext.8 + update xgettext.8 ./tests/xgettext.8 + rm -f xgettext.8 + test -f ./tests/xgettext-9 + if not errorlevel 1 mv -f ./tests/xgettext-9 ./tests/xgettext.9 + test -f ./tests/xg-test1.ok.po + if not errorlevel 1 mv -f ./tests/xg-test1.ok.po ./tests/xg-test1.ok-po + test -f ./tests/plural-1 + if not errorlevel 1 mv -f ./tests/plural-1 ./tests/plural.1 + sed -f ./djgpp/tscript.sed ./tests/plural.1 > plural.1 + update plural.1 ./tests/plural.1 + rm -f plural.1 + touch ./tests/stamp-test + echo Done.