home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / PROGRAM / DJBSN116.ZIP / DIFFS / BISON116.DIF
Text File  |  1992-04-13  |  2KB  |  49 lines

  1. diff -c2 +recursive orig/bison-1.16/changelo bison-1.16/changelo
  2. *** orig/bison-1.16/changelo    Sun Mar 29 18:26:42 1992
  3. --- bison-1.16/changelo Sun Mar 29 18:27:46 1992
  4. ***************
  5. *** 1,2 ****
  6. --- 1,6 ----
  7. + Sun mar 29 13:25:00 1992  DJ Delorie (dj@ctron.com
  8. +       * Added configure.bat for MS-DOS
  9.   Tue Jan 21 23:17:44 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  10.   
  11. diff -c2 +recursive orig/bison-1.16/configur.bat bison-1.16/configur.bat
  12. *** orig/bison-1.16/configur.bat        Sat Mar 28 01:51:00 1992
  13. --- bison-1.16/configur.bat     Sat Mar 28 18:41:06 1992
  14. ***************
  15. *** 0 ****
  16. --- 1,30 ----
  17. + @echo off
  18. + echo Configuring bison for go32
  19. + rem This batch file assumes a unix-type "sed" program
  20. + echo # Makefile generated by "configure.bat">Makefile
  21. + echo all.dos : bison>> Makefile
  22. + echo "/^cccp.o[       ]*:/,/-c/ {                     ">> config.sed
  23. + if exist config.sed del config.sed
  24. + echo "s/@srcdir@/./g                                  ">> config.sed
  25. + echo "s/@VPATH@//g                                    ">> config.sed
  26. + echo "s/@CC@/gcc/g                                    ">> config.sed
  27. + echo "s/@DEFS@/-DMSDOS/g                              ">> config.sed
  28. + echo "s/@LIBS@//g                                     ">> config.sed
  29. + echo "s/@ALLOCA@//g                                   ">> config.sed
  30. + echo "s/$files\.c./files.c/g                          ">> config.sed
  31. + echo "/^bison[        ]*:/,/-o/ {                             ">> config.sed
  32. + echo "  s/\\\"/\"/g                                   ">> config.sed
  33. + echo "  s/    \$(CC)/ >bison.rf/                      ">> config.sed
  34. + echo "  /-o/ a\                                               ">> config.sed
  35. + echo "        $(CC) @bison.rf                                 ">> config.sed
  36. + echo "}                                                       ">> config.sed
  37. + sed -e "s/^\"//" -e "s/\"$//" -e "s/[         ]*$//" config.sed > config2.sed
  38. + sed -f config2.sed Makefile.in >> Makefile
  39. + del config.sed
  40. + del config2.sed
  41.