]> git.saurik.com Git - bison.git/blame - configure.bat
* tests/regression.at (%nonassoc and eof): New.
[bison.git] / configure.bat
CommitLineData
c0e80ad4
RS
1@echo off
2echo Configuring bison for go32
3rem This batch file assumes a unix-type "sed" program
4
5echo # Makefile generated by "configure.bat"> Makefile
6echo all.dos : bison >> Makefile
7
8if exist config.sed del config.sed
9
10echo "s/@srcdir@/./g ">> config.sed
11echo "s/@CC@/gcc/g ">> config.sed
12echo "s/@INSTALL@//g ">> config.sed
13echo "s/@INSTALL_PROGRAM@//g ">> config.sed
14echo "s/@INSTALL_DATA@//g ">> config.sed
15echo "s/@DEFS@/-DHAVE_STRERROR/g ">> config.sed
16echo "s/@LIBS@//g ">> config.sed
17echo "s/@ALLOCA@//g ">> config.sed
18
19echo "/^bison[ ]*:/,/-o/ { ">> config.sed
20echo " s/ \$(CC)/ >bison.rf/ ">> config.sed
21echo " /-o/ a\ ">> config.sed
22echo " $(CC) @bison.rf ">> config.sed
23echo "} ">> config.sed
24
25sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
26sed -f config2.sed Makefile.in >> Makefile
27del config.sed
28del config2.sed