From: "Juan Manuel Guerrero" Organization: Darmstadt University of Technology To: Bruno Haible Date: Sat, 3 Mar 2001 19:02:18 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: gettext pretest available CC: djgpp-workers AT delorie DOT com X-mailer: Pegasus Mail for Windows (v2.54DE) Message-ID: <391B0101C7C@HRZ1.hrz.tu-darmstadt.de> Reply-To: djgpp-workers AT delorie DOT com This patch provides the DJGPP specific files to be located into the djgpp/ subdir. The patch will modify the files ./configure.in adding a djgpp/Makefile entry to AC_OUTPUT and it will modify ./Makefile.am adding a djgpp entry to SUBDIRS. It will also create the files: djgpp/Makefile.am djgpp/fnchange.in djgpp/README.in djgpp/config.bat djgpp/config.in djgpp/config.site djgpp/edtests.bat djgpp/tscript.sed If the dist target is started the files fnchange.lst, config.sed and readme will be created using the fnchange.in as template. This will keep fnchange.lst and config.sed in sync. It should be noticed that if lib/vasprintf.c is compiled, the following warning is issued: make.exe[2]: Entering directory `z:/__/gettext-0.10.36/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -c vasprintf.c vasprintf.c: In function `int_vasprintf': vasprintf.c:65: warning: passing arg 2 of `strtoul' from incompatible pointer type vasprintf.c:75: warning: passing arg 2 of `strtoul' from incompatible pointer type DJGPP strtoul is ANSI/POSIX conform. The function prototype is: unsigned long strtoul (const char *s, char **p, int base). The patch will not fix this. Regards, Guerrero, Juan Manuel Patch 1/2 diff -acprNC3 gettext-2001-02-05.orig/configure.in gettext-2001-02-05/configure.in *** gettext-2001-02-05.orig/configure.in Fri Jan 26 13:55:18 2001 --- gettext-2001-02-05/configure.in Sat Mar 3 18:23:12 2001 *************** echo "GNU gettext library from $PACKAGE- *** 81,87 **** AC_OUTPUT([Makefile lib/Makefile intl/Makefile src/Makefile \ po/Makefile.in doc/Makefile tests/Makefile m4/Makefile \ ! misc/Makefile misc/gettextize], [ dnl Workaround an automake-1.4 bug which generates an incorrect uninstall dnl target in misc/Makefile.in. sed -e 's/rm -f \$(lispdir)/rm -f \$(DESTDIR)\$(lispdir)/' < misc/Makefile \ --- 81,87 ---- AC_OUTPUT([Makefile lib/Makefile intl/Makefile src/Makefile \ po/Makefile.in doc/Makefile tests/Makefile m4/Makefile \ ! misc/Makefile misc/gettextize djgpp/Makefile], [ dnl Workaround an automake-1.4 bug which generates an incorrect uninstall dnl target in misc/Makefile.in. sed -e 's/rm -f \$(lispdir)/rm -f \$(DESTDIR)\$(lispdir)/' < misc/Makefile \ diff -acprNC3 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 Mar 3 18:21:54 2001 *************** *** 0 **** --- 1,185 ---- + @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 Let libtool use _libs all the time. + test -f %XSRC%/ltconfig.orig + if errorlevel 1 update %XSRC%/ltconfig %XSRC%/ltconfig.orig + sed "/objdir=/s|\.libs|_libs|" %XSRC%/ltconfig > ltconfig.tmp + if errorlevel 1 goto SedError + update ltconfig.tmp %XSRC%/ltconfig + rm ltconfig.tmp + + Rem While building the binaries in src/ subdir an intermediary + Rem file called po-gram-gen2.h is generated from po-gram-gen.h. + Rem Both resolve to the same 8.3 filename. po-gram-gen2.h will + Rem be renamed to po-gram_gen2.h and src/po-lex.c must be fixed + Rem accordingly. + 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 -acprNC3 gettext-2001-02-05.orig/djgpp/config.in gettext-2001-02-05/djgpp/config.in *** gettext-2001-02-05.orig/djgpp/config.in Thu Jan 1 00:00:00 1970 --- gettext-2001-02-05/djgpp/config.in Sat Mar 3 18:21:54 2001 *************** *** 0 **** --- 1,107 ---- + # 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,\\.new\\.,_new.,g\ + s,\\.old\\.,_old.,g\ + s,\\.tab\\.c,_tab.c,g\ + s,\\.tab\\.h,_tab.h,g\ + @append_list_of_renamed_files@ + /^TESTS[ ]*=/ s,plural-1,plural.1,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[ ]*:/,/^$/ {\ + /CONFIG_FILES=/ s,\\\$(subdir)/\\\$@\\.in,&:\\$(subdir)/\\$@.in-in,\ + } + } + + # 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 -pf" instead of "ln". + /# Make a symlink if possible; otherwise try a hard link./,/EOF/ { + s,;.*then, 2>/dev/null || cp -pf \$srcdir/\$ac_source \$ac_dest&, + } diff -acprNC3 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 Sat Mar 3 18:21:54 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 -acprNC3 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 Sat Mar 3 18:21:54 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. diff -acprNC3 gettext-2001-02-05.orig/djgpp/fnchange.in gettext-2001-02-05/djgpp/fnchange.in *** gettext-2001-02-05.orig/djgpp/fnchange.in Thu Jan 1 00:00:00 1970 --- gettext-2001-02-05/djgpp/fnchange.in Sat Mar 3 18:21:54 2001 *************** *** 0 **** --- 1,28 ---- + # This is a template from which fnchange.lst is generated. + @V@/config.h.in @V@/config.h-in + @V@/po/Makefile.in.in @V@/po/Makefile.in-in + @V@/tests/gettext-1 @V@/tests/gettext.1 + @V@/tests/gettext-2 @V@/tests/gettext.2 + @V@/tests/msgcmp-1 @V@/tests/msgcmp.1 + @V@/tests/msgcmp-2 @V@/tests/msgcmp.2 + @V@/tests/msgfmt-1 @V@/tests/msgfmt.1 + @V@/tests/msgfmt-2 @V@/tests/msgfmt.2 + @V@/tests/msgfmt-3 @V@/tests/msgfmt.3 + @V@/tests/msgfmt-4 @V@/tests/msgfmt.4 + @V@/tests/msgmerge-1 @V@/tests/msgmerge.1 + @V@/tests/msgmerge-2 @V@/tests/msgmerge.2 + @V@/tests/msgmerge-3 @V@/tests/msgmerge.3 + @V@/tests/msgmerge-4 @V@/tests/msgmerge.4 + @V@/tests/msgmerge-5 @V@/tests/msgmerge.5 + @V@/tests/msgunfmt-1 @V@/tests/msgunfmt.1 + @V@/tests/xgettext-1 @V@/tests/xgettext.1 + @V@/tests/xgettext-2 @V@/tests/xgettext.2 + @V@/tests/xgettext-3 @V@/tests/xgettext.3 + @V@/tests/xgettext-4 @V@/tests/xgettext.4 + @V@/tests/xgettext-5 @V@/tests/xgettext.5 + @V@/tests/xgettext-6 @V@/tests/xgettext.6 + @V@/tests/xgettext-7 @V@/tests/xgettext.7 + @V@/tests/xgettext-8 @V@/tests/xgettext.8 + @V@/tests/xgettext-9 @V@/tests/xgettext.9 + @V@/tests/xg-test1.ok.po @V@/tests/xg-test1.ok-po + @V@/tests/plural-1 @V@/tests/plural.1 diff -acprNC3 gettext-2001-02-05.orig/djgpp/Makefile.am gettext-2001-02-05/djgpp/Makefile.am *** gettext-2001-02-05.orig/djgpp/Makefile.am Thu Jan 1 00:00:00 1970 --- gettext-2001-02-05/djgpp/Makefile.am Sat Mar 3 18:21:54 2001 *************** *** 0 **** --- 1,41 ---- + ## Process this file with automake to produce Makefile.in -*-Makefile-*- + + EXTRA_DIST = fnchange.lst fnchange.in README README.in \ + config.bat config.sed config.in config.site \ + edtests.bat tscript.sed + MAINTAINERCLEANFILES = fnchange.lst README + + all-local: README fnchange.lst config.sed + + config.sed: config.in fnchange.in + sed \ + -e '/plural-1/ d' \ + -e 's|\.h\.in|\\\\\\\\.h\\\\\\\\.in|' \ + -e 's|\.in\.in|\\\\\\\\.in\\\\\\\\.in|' \ + -e 's|[ ]\+.*/|,|' \ + -e 's|$$|,g\\\\\\|' \ + -e 's|^.*/| s,|' \ + -e 's|^#.*$$|/@append_list_of_renamed_files@/ c\\|' \ + $(srcdir)/fnchange.in > t-script.sed + sed '$$ s|\\||' t-script.sed > script.sed + sed -f script.sed $(srcdir)/config.in > t-$@ + mv t-$@ $@ + rm -f t-script.sed script.sed + + fnchange.lst: fnchange.in $(top_srcdir)/configure.in + sed \ + -e '/^#/d' \ + -e 's/@V@/$(PACKAGE)-$(VERSION)/g' \ + $(srcdir)/fnchange.in > t-$@ + mv t-$@ $@ + + README: README.in $(top_srcdir)/configure.in + packageversion=`echo "$(VERSION)" | sed 's/\..*\.//'`; \ + treeversion=`echo "$(VERSION)" | sed 's/\.//'`; \ + sed \ + -e 's/@V@/$(PACKAGE)-$(VERSION)/g' \ + -e 's/@VER@/$(VERSION)/g' \ + -e "s/@packageversion@/$$packageversion/g" \ + -e "s/@treeversion@/$$treeversion/g" \ + $(srcdir)/README.in > t-$@ + mv t-$@ $@