2000-06-24 18:06:35 +04:00
|
|
|
@echo off
|
2000-08-05 11:32:54 +04:00
|
|
|
if exist configure.bat cd ..
|
|
|
|
if exist djgpp\version.sed goto exist
|
|
|
|
sed -n -f djgpp\mkver.sed < version.h > djgpp\version.sed
|
2000-06-24 18:06:35 +04:00
|
|
|
:exist
|
2000-08-05 11:32:54 +04:00
|
|
|
set _conv_=-f djgpp\config.sed -f djgpp\version.sed
|
|
|
|
sed %_conv_% < Makefile.in > Makefile
|
|
|
|
sed %_conv_% < ext\extmk.rb.in > ext\extmk.rb
|
|
|
|
sed %_conv_% < djgpp\config.hin > config.h
|
2000-06-24 18:06:35 +04:00
|
|
|
echo LFN check > 12345678
|
|
|
|
sed -n /LFN/d 123456789 > nul
|
|
|
|
if errorlevel 2 goto LFN
|
|
|
|
copy missing\vsnprintf.c missing\vsnprint.c > nul
|
2000-08-05 11:32:54 +04:00
|
|
|
copy djgpp\config.sed config.sta > nul
|
2000-06-24 18:06:35 +04:00
|
|
|
goto end
|
|
|
|
:LFN
|
2000-08-05 11:32:54 +04:00
|
|
|
copy djgpp\config.sed config.status > nul
|
2000-06-24 18:06:35 +04:00
|
|
|
:end
|
2000-08-05 11:32:54 +04:00
|
|
|
set _conv_=
|
2000-06-24 18:06:35 +04:00
|
|
|
del 12345678
|
|
|
|
echo Now you must run a make.
|