delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/27/12:29:50

From: "Juan Manuel Guerrero" <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
Organization: Darmstadt University of Technology
To: Bruno Haible <haible AT ilog DOT fr>
Date: Tue, 27 Feb 2001 18:28:11 +0200
MIME-Version: 1.0
Subject: Re: DJGPP specific patch for libiconv-1.5.1
CC: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
X-mailer: Pegasus Mail for Windows (v2.54DE)
Message-ID: <3311BEA1257@HRZ1.hrz.tu-darmstadt.de>
Reply-To: djgpp-workers AT delorie DOT com

Bruno Haible wrotes:
> Also, there are some question marks about the config.charset data
> that you sent. The MSDOS 6.22 page that you referred to mentioned
> different encodings. Can you please verify which are the default
> codepages in the MSDOS installations for the locales marked as
> questionable below?
Some of the locales marked as questionable can not be resolved by me.
I know that some msdos codepages may not be available. In this case
I have replaced them by windows codepages. Example: Korea. msdos CP934
has been replaced by windows CP949. Cyrillic II CP866 is more similar
to KOI8-R, so this codepage will be used instead of Cyrillic I CP855
for russian locale.
I have accepted most of the changes you have suggested, although I don't
know if their are right. Especially I don't know if CP850 is really the
appropiate choice for the norwegian locale.
This is the corrected snippet that should be used in charset.alias.

    msdosdjgpp*)
	# DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore
	# localcharset.c falls back to using the full locale name
	# from the environment variables.
	echo "C ASCII"
	# ISO-8859-1 languages
	echo "ca CP850"
	echo "ca_ES CP850"
	echo "da CP850"
	echo "da_DK CP850"
	echo "de CP850"
	echo "de_AT CP850"
	echo "de_CH CP850"
	echo "de_DE CP850"
	echo "en CP850"
	echo "en_AU CP437"
	echo "en_CA CP850"
	echo "en_GB CP850"
	echo "en_NZ CP437"
	echo "en_US CP437"
	echo "en_ZA CP437"
	echo "es CP850"
	echo "es_AR CP850"
	echo "es_BO CP850"
	echo "es_CL CP850"
	echo "es_CO CP850"
	echo "es_CR CP850"
	echo "es_CU CP850"
	echo "es_DO CP850"
	echo "es_EC CP850"
	echo "es_ES CP850"
	echo "es_GT CP850"
	echo "es_HN CP850"
	echo "es_MX CP850"
	echo "es_NI CP850"
	echo "es_PA CP850"
	echo "es_PY CP850"
	echo "es_PE CP850"
	echo "es_SV CP850"
	echo "es_UY CP850"
	echo "es_VE CP850"
	echo "et CP850"
	echo "et_EE CP850"
	echo "eu CP850"
	echo "eu_ES CP850"
	echo "fi CP850"
	echo "fi_FI CP850"
	echo "fr CP850"
	echo "fr_BE CP850"
	echo "fr_CA CP850"
	echo "fr_CH CP850"
	echo "fr_FR CP850"
	echo "ga CP850"
	echo "ga_IE CP850"
	echo "gd CP850"
	echo "gd_GB CP850"
	echo "gl CP850"
	echo "gl_ES CP850"
	echo "id CP437"
	echo "id_ID CP437"
	echo "is CP861"
	echo "is_IS CP861"
	echo "it CP850"
	echo "it_CH CP850"
	echo "it_IT CP850"
	echo "nb CP850"
	echo "nb_NO CP850"
	echo "nl CP850"
	echo "nl_BE CP850"
	echo "nl_NL CP850"
	echo "nn CP850"
	echo "nn_NO CP850"
	echo "no CP850"
	echo "no_NO CP850"
	echo "pt CP850"
	echo "pt_BR CP850"
	echo "pt_PT CP850"
	echo "sv CP850"
	echo "sv_SE CP850"
	# ISO-8859-2 languages
	echo "cs CP852"
	echo "cs_CZ CP852"
	echo "hr CP852"
	echo "hr_HR CP852"
	echo "hu CP852"
	echo "hu_HU CP852"
	echo "pl CP852"
	echo "pl_PL CP852"
	echo "ro CP852"
	echo "ro_RO CP852"
	echo "sk CP852"
	echo "sk_SK CP852"
	echo "sl CP852"
	echo "sl_SI CP852"
	echo "sq CP852"
	echo "sq_AL CP852"
	echo "sr CP855"
	echo "sr_YU CP855"
	# ISO-8859-3 languages
	echo "mt CP850"
	echo "mt_MT CP850"
	# ISO-8859-5 languages
	echo "be CP866"
	echo "be_BE CP866"
	echo "bg CP855"
	echo "bg_BG CP855"
	echo "mk CP855"
	echo "mk_MK CP855"
	echo "ru CP866"
	echo "ru_RU CP866"
	# ISO-8859-6 languages
	echo "ar CP864"
	echo "ar_AE CP864"
	echo "ar_DZ CP864"
	echo "ar_EG CP864"
	echo "ar_IQ CP864"
	echo "ar_IR CP864"
	echo "ar_JO CP864"
	echo "ar_KW CP864"
	echo "ar_MA CP864"
	echo "ar_OM CP864"
	echo "ar_QA CP864"
	echo "ar_SA CP864"
	echo "ar_SY CP864"
	# ISO-8859-7 languages
	echo "el CP869"
	echo "el_GR CP869"
	# ISO-8859-8 languages
	echo "he CP862"
	echo "he_IL CP862"
	# ISO-8859-9 languages
	echo "tr CP857"
	echo "tr_TR CP857"
	# Japanese
	echo "ja CP932"
	echo "ja_JP CP932"
	# Chinese
	echo "zh_CN CP936"
	echo "zh_TW CP950"
	# Korean
	echo "kr CP949"
	echo "kr_KR CP949"
	# Thai
	echo "th CP874"
	echo "th_TH CP874"
	# Other
	echo "eo CP850"
	echo "eo_EO CP850"

The patch submitted here provides the files for the ./djgpp and
./libcharset/djgpp subdirs. The files in ./libcharset/djgpp will
allow to configure, compile and install libcharset.a without configuring
from the top srcdir.
To configure from top srcdir the package must by untared with djtar using
fnchange.lst. Appropiate instructions are given in the readme file.
config.bat will modify the files: lib/iconv.c, lib/converters.h, lib/cns11643.h
and lib/isoir165.h to reflect the new directory structure of ./lib.
The patch is based on libiconv-20010226.tgz and has been tested on
dos 6.22 using 4dos.com and win95 using command.com
The patch is splitted in 4 parts.

Regards,
Guerrero, Juan Manuel


patch 1/4

diff -acprNC5 libiconv-20010226.orig/djgpp/config.bat libiconv-20010226/djgpp/config.bat
*** libiconv-20010226.orig/djgpp/config.bat	Thu Jan  1 00:00:00 1970
--- libiconv-20010226/djgpp/config.bat	Tue Feb 27 16:14:16 2001
***************
*** 0 ****
--- 1,210 ----
+ @echo off
+ echo Configuring GNU libiconv 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 where the sources are
+ set XSRC=.
+ if not "%XSRC%" == "." goto SmallEnv
+ if "%1" == "" goto InPlace
+ set XSRC=%1
+ if not "%XSRC%" == "%1" goto SmallEnv
+ redir -e /dev/null update %XSRC%/configure.orig ./configure
+ test -f ./configure
+ if errorlevel 1 update %XSRC%/configure ./configure
+ test -d ./libcharset
+ if errorlevel 1 md libcharset
+ redir -e /dev/null update %XSRC%/libcharset/configure.orig ./libcharset/configure
+ test -f ./libcharset/configure
+ if errorlevel 1 update %XSRC%/libcharset/configure ./libcharset/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
+ test -f ./libcharset/configure.orig
+ if errorlevel 1 update ./libcharset/configure ./libcharset/configure.orig
+ sed -f %XSRC%/djgpp/config.sed ./libcharset/configure.orig > configure.tmp
+ if errorlevel 1 goto SedError
+ Rem The following is needed because the toplevel configure script calls the
+ Rem %XSRC%/libcharset/configure script instead of ./libcharset/configure.
+ test -f %XSRC%/libcharset/configure.orig
+ if errorlevel 1 update %XSRC%/libcharset/configure %XSRC%/libcharset/configure.orig
+ update configure.tmp %XSRC%/libcharset/configure
+ rm ./configure.tmp
+ 
+ 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%/lib/config.h.in
+ if not errorlevel 1 mv -f %XSRC%/lib/config.h.in %XSRC%/lib/config.h-in
+ test -f %XSRC%/libcharset/config.h.in
+ if not errorlevel 1 mv -f %XSRC%/libcharset/config.h.in %XSRC%/libcharset/config.h-in
+ test -f %XSRC%/libcharset/include/libcharset.h.in
+ if not errorlevel 1 mv -f %XSRC%/libcharset/include/libcharset.h.in %XSRC%/libcharset/include/libcharset.h-in
+ test -f %XSRC%/include/iconv.h.in
+ if not errorlevel 1 mv -f %XSRC%/include/iconv.h.in %XSRC%/include/iconv.h-in
+ 
+ Rem All fixes needed to get the package configured, compiled and tested.
+ Rem 1:  Change the stateless-check script so it knowns about the
+ Rem     new filenames.
+ Rem 2:  Ditto for Makefile.in
+ Rem 3:  Ditto for source files.
+ Rem 4:  Change the files contained in the tests subdirectory from
+ Rem     UNIX-style EOL into DOS-style EOL so the testsuit works.
+ 
+ test -f %XSRC%/stamp-djgppfixes
+ if not errorlevel 1 goto TestsuitFixed
+ Rem Fix the Makefile.ins.
+ test -f %XSRC%/lib/Makefile.orig
+ if errorlevel 1 update %XSRC%/lib/Makefile.in %XSRC%/lib/Makefile.orig
+ sed -f %XSRC%/djgpp/makefile.sed %XSRC%/lib/Makefile.in > Makefile.tmp
+ if errorlevel 1 goto SedError
+ update Makefile.tmp %XSRC%/lib/Makefile.in
+ rm Makefile.tmp
+ test -f %XSRC%/tests/Makefile.orig
+ if errorlevel 1 update %XSRC%/tests/Makefile.in %XSRC%/tests/Makefile.orig
+ sed -f %XSRC%/djgpp/makefile.sed %XSRC%/tests/Makefile.in > Makefile.tmp
+ if errorlevel 1 goto SedError
+ update Makefile.tmp %XSRC%/tests/Makefile.in
+ rm Makefile.tmp
+ 
+ Rem Fix the source files.
+ test -f %XSRC%/lib/iconv.orig
+ if errorlevel 1 update %XSRC%/lib/iconv.c %XSRC%/lib/iconv.orig
+ sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/iconv.c > iconv.tmp
+ if errorlevel 1 goto SedError
+ update iconv.tmp %XSRC%/lib/iconv.c
+ rm iconv.tmp
+ test -f %XSRC%/lib/converters.orig
+ if errorlevel 1 update %XSRC%/lib/converters.h %XSRC%/lib/converters.orig
+ sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/converters.h > converters.tmp
+ if errorlevel 1 goto SedError
+ update converters.tmp %XSRC%/lib/converters.h
+ rm converters.tmp
+ test -f %XSRC%/lib/cns/11643.orig
+ if errorlevel 1 update %XSRC%/lib/cns/11643.h %XSRC%/lib/cns/11643.orig
+ sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/cns/11643.h > 11643.tmp
+ if errorlevel 1 goto SedError
+ update 11643.tmp %XSRC%/lib/cns/11643.h
+ rm 11643.tmp
+ test -f %XSRC%/lib/iso/ir165.orig
+ if errorlevel 1 update %XSRC%/lib/iso/ir165.h %XSRC%/lib/iso/ir165.orig
+ sed -f %XSRC%/djgpp/sources.sed %XSRC%/lib/iso/ir165.h > ir165.tmp
+ if errorlevel 1 goto SedError
+ update ir165.tmp %XSRC%/lib/iso/ir165.h
+ rm ir165.tmp
+ 
+ Rem Let libtool use _libs all the time.
+ test -f %XSRC%/autoconf/ltconfig.orig
+ if errorlevel 1 update %XSRC%/autoconf/ltconfig %XSRC%/autoconf/ltconfig.orig
+ sed "/objdir=/s|\.libs|_libs|" %XSRC%/autoconf/ltconfig > ltconfig.tmp
+ if errorlevel 1 goto SedError
+ update ltconfig.tmp %XSRC%/autoconf/ltconfig
+ test -f %XSRC%/libcharset/autoconf/ltconfig.orig
+ if errorlevel 1 update %XSRC%/libcharset/autoconf/ltconfig %XSRC%/libcharset/autoconf/ltconfig.orig
+ update ltconfig.tmp %XSRC%/libcharset/autoconf/ltconfig
+ rm ltconfig.tmp
+ 
+ Rem Change file's NL to CRLF.
+ utod %XSRC%/tests/*.txt
+ utod %XSRC%/tests/GEORGIAN/*.txt
+ utod %XSRC%/tests/ISO/*.txt
+ utod %XSRC%/tests/MAC/*.txt
+ 
+ Rem Fix the test scripts.
+ 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\edtest.bat
+ call cd_BuildDir.bat
+ rm -f cd_SrcDir.bat cd_BuildDir.bat %XSRC%/cd_BuildDir.bat
+ goto TestsuitFixed
+ :NoDirChange
+ call djgpp\edtest.bat
+ :TestsuitFixed
+ touch %XSRC%/stamp-djgppfixes
+ 
+ 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=
+ 
+ echo Running the ./configure script...
+ sh ./configure --src=%XSRC%
+ if errorlevel 1 goto CfgError
+ echo Done.
+ 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 XSRC=
diff -acprNC5 libiconv-20010226.orig/djgpp/config.sed libiconv-20010226/djgpp/config.sed
*** libiconv-20010226.orig/djgpp/config.sed	Thu Jan  1 00:00:00 1970
--- libiconv-20010226/djgpp/config.sed	Wed Feb 14 15:02:36 2001
***************
*** 0 ****
--- 1,85 ----
+ # Additional editing of Makefiles
+ /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,config\\.h\\.in,config.h-in,g\
+   s,\\.tab\\.c,_tab.c,g\
+   s,\\.tab\\.h,_tab.h,g\
+   s,\\.old\\.,_old.,g\
+   s,libcharset\\.h\\.in,libcharset.h-in,g\
+   s,Makefile\\.in\\.in,Makefile.in-in,g\
+   s,Makefile\\.am\\.in,Makefile.am-in,g\
+   /^install-info-am:/,/^$/ s,file-\\[0-9\\]\\[0-9\\],& \\$\\$file[0-9] \\$\\$file[0-9][0-9],\
+   /^\\.y\\.c:/,/^$/ {\
+     /\\\$(YACC)/ {\
+       s,[ 	]*&&.*$,,\
+       a\\\\\
+ 	-mv -f y_tab.c \\$*.c\\\\\
+ 	-@test -f y.tab.c && mv -f y.tab.c \\$*.c\\\\\
+ 	-@test -f y.tab.h && mv -f y.tab.h y_tab.h\
+     }\
+   }
+ }
+ 
+ # Rename config.h.in into config.h-in
+ /^ *CONFIG_HEADERS=/,/^EOF/ {
+   s|"lib/config\.h|&:lib/config.h-in|
+   s|"config\.h|&:config.h-in|
+ }
+ 
+ # Rename iconv.h.in into iconv.h-in
+ /^ *CONFIG_FILES=/,/^EOF/ {
+   s|include/iconv\.h|&:include/iconv.h-in|
+ }
+ 
+ # 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 -acprNC5 libiconv-20010226.orig/djgpp/config.site libiconv-20010226/djgpp/config.site
*** libiconv-20010226.orig/djgpp/config.site	Thu Jan  1 00:00:00 1970
--- libiconv-20010226/djgpp/config.site	Wed Feb 14 15:02:36 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='/dev/env/DJDIR/bin/ranlib'}
+ GMSGFMT=${GMSGFMT='/dev/env/DJDIR/bin/msgfmt'}
+ MSGFMT=${MSGFMT='/dev/env/DJDIR/bin/msgfmt'}
+ XGETTEXT=${XGETTEXT='/dev/env/DJDIR/bin/xgettext'}
+ 
+ # A sane default 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='/dev/env/DJDIR/bin/nm'}
+ LD=${LD='/dev/env/DJDIR/bin/ld'}
+ 
+ # Force the test for 'ln -s' to report no.
+ ac_cv_prog_LN_S='cp -p'
+ cl_cv_prog_LN_S='cp -p'
+ cl_cv_prog_LN='cp -p'
diff -acprNC5 libiconv-20010226.orig/djgpp/edtest.bat libiconv-20010226/djgpp/edtest.bat
*** libiconv-20010226.orig/djgpp/edtest.bat	Thu Jan  1 00:00:00 1970
--- libiconv-20010226/djgpp/edtest.bat	Wed Feb 21 09:37:04 2001
***************
*** 0 ****
--- 1,28 ----
+ @echo off
+ if "%XSRC%" == "" set XSRC=.
+ test -f %XSRC%/tests/stateful-check.orig
+ if errorlevel 1 update %XSRC%/tests/stateful-check %XSRC%/tests/stateful-check.orig
+ sed -f %XSRC%/djgpp/stateful-check.sed %XSRC%/tests/stateful-check.orig > stateful-check
+ if errorlevel 1 goto SedError
+ update ./stateful-check %XSRC%/tests/stateful-check
+ rm -f ./stateful-check
+ 
+ test -f %XSRC%/tests/stateless-check.orig
+ if errorlevel 1 update %XSRC%/tests/stateless-check %XSRC%/tests/stateless-check.orig
+ sed -f %XSRC%/djgpp/stateless-check.sed %XSRC%/tests/stateless-check.orig > stateless-check
+ if errorlevel 1 goto SedError
+ update ./stateless-check %XSRC%/tests/stateless-check
+ rm -f ./stateless-check
+ 
+ test -f %XSRC%/tests/translit-check.orig
+ if errorlevel 1 update %XSRC%/tests/translit-check %XSRC%/tests/translit-check.orig
+ sed -f %XSRC%/djgpp/translit-check.sed %XSRC%/tests/translit-check.orig > translit-check
+ if errorlevel 1 goto SedError
+ update ./translit-check %XSRC%/tests/translit-check
+ rm -f ./translit-check
+ goto End
+ 
+ :SedError
+ echo test script editing failed!
+ 
+ :End

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019