mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* ext/extmk.rb, lib/mkmf.rb: flush $stdout. * io.c (READ_DATA_PENDING_COUNT, READ_DATA_PENDING_PTR): undef these macros on DJGPP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			595 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			595 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
@echo off
 | 
						|
if exist configure.bat cd ..
 | 
						|
if exist djgpp\version.sed goto exist
 | 
						|
  sed -n -f djgpp\mkver.sed < version.h > djgpp\version.sed
 | 
						|
:exist
 | 
						|
set _conv_=-f djgpp\config.sed -f djgpp\version.sed
 | 
						|
sed %_conv_% < Makefile.in > Makefile
 | 
						|
sed %_conv_% < djgpp\config.hin > config.h
 | 
						|
echo LFN check > 12345678
 | 
						|
sed -n /LFN/d 123456789 > nul
 | 
						|
if errorlevel 2 goto LFN
 | 
						|
    copy missing\vsnprintf.c missing\vsnprint.c > nul
 | 
						|
    copy djgpp\config.sed config.sta > nul
 | 
						|
goto end
 | 
						|
:LFN
 | 
						|
    copy djgpp\config.sed config.status > nul
 | 
						|
:end
 | 
						|
set _conv_=
 | 
						|
del 12345678
 | 
						|
echo Now you must run a make.
 |