home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
DJBSN116.ZIP
/
DIFFS
/
BISON116.DIF
Wrap
Text File
|
1992-04-13
|
2KB
|
49 lines
diff -c2 +recursive orig/bison-1.16/changelo bison-1.16/changelo
*** orig/bison-1.16/changelo Sun Mar 29 18:26:42 1992
--- bison-1.16/changelo Sun Mar 29 18:27:46 1992
***************
*** 1,2 ****
--- 1,6 ----
+ Sun mar 29 13:25:00 1992 DJ Delorie (dj@ctron.com
+
+ * Added configure.bat for MS-DOS
+
Tue Jan 21 23:17:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
diff -c2 +recursive orig/bison-1.16/configur.bat bison-1.16/configur.bat
*** orig/bison-1.16/configur.bat Sat Mar 28 01:51:00 1992
--- bison-1.16/configur.bat Sat Mar 28 18:41:06 1992
***************
*** 0 ****
--- 1,30 ----
+ @echo off
+ echo Configuring bison for go32
+ rem This batch file assumes a unix-type "sed" program
+
+ echo # Makefile generated by "configure.bat">Makefile
+ echo all.dos : bison>> Makefile
+
+ echo "/^cccp.o[ ]*:/,/-c/ { ">> config.sed
+
+ if exist config.sed del config.sed
+
+ echo "s/@srcdir@/./g ">> config.sed
+ echo "s/@VPATH@//g ">> config.sed
+ echo "s/@CC@/gcc/g ">> config.sed
+ echo "s/@DEFS@/-DMSDOS/g ">> config.sed
+ echo "s/@LIBS@//g ">> config.sed
+ echo "s/@ALLOCA@//g ">> config.sed
+ echo "s/$files\.c./files.c/g ">> config.sed
+
+ echo "/^bison[ ]*:/,/-o/ { ">> config.sed
+ echo " s/\\\"/\"/g ">> config.sed
+ echo " s/ \$(CC)/ >bison.rf/ ">> config.sed
+ echo " /-o/ a\ ">> config.sed
+ echo " $(CC) @bison.rf ">> config.sed
+ echo "} ">> config.sed
+
+ sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
+ sed -f config2.sed Makefile.in >> Makefile
+ del config.sed
+ del config2.sed