Mail Archives: djgpp-workers/2000/04/26/07:01:53
On Tue, 11 Apr 2000, Eli Zaretskii wrote:
> > This concern only people using 4DOS v6.X with MSDOS v 6.X and probably
> > other SFN environments. 4DOS does NOT truncute long file names to short
> > file names when it runs its internal commands like ren, copy, del, etc.
> [snip]
> > ! if not exist install-?? if exist install-??.sh ren install-??.sh install-sh
>
> Does this work on Windows 9X?
>
> In general, this is too dangerous: what if some day there will be another
> install-?? file?
It is too dangerous. A new attempt. The patch is base on config.bat from texinfo.
For this to work, I assume that fileutils are installed.
*** config.bat.orig Wed Sep 29 18:26:10 1999
--- config.bat Wed Apr 26 11:23:00 2000
***************
*** 63,77 ****
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
! if not exist install-sh if exist install-sh.sh ren install-sh.sh install-sh
echo Running the ./configure script...
sh ./configure --src=%XSRC% --infodir=/dev/env/DJDIR/info --disable-nls
if errorlevel 1 goto CfgError
! if not exist install-sh.sh if exist install-sh ren install-sh install-sh.sh
echo Done.
goto End
:SedError
echo ./configure script editing failed!
--- 63,85 ----
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 install-sh
! if not errorlevel 1 goto 0continue
! test -f install-sh.sh
! if not errorlevel 1 mv -f install-sh.sh install-sh
! :0continue
echo Running the ./configure script...
sh ./configure --src=%XSRC% --infodir=/dev/env/DJDIR/info --disable-nls
if errorlevel 1 goto CfgError
! test -f install-sh.sh
! if not errorlevel 1 goto 1continue
! test -f install-sh
! if not errorlevel 1 mv -f install-sh install-sh.sh
! :1continue
echo Done.
goto End
:SedError
echo ./configure script editing failed!
- Raw text -