Don't declare unblock_sigs; job.h already does.
[make.git] / configure.bat
blobf6e5262419ab0e083711358589cb60433032d059
1 @echo off\r
2 echo Configuring MAKE for go32\r
3 rem This batch file assumes a unix-type "sed" program\r
4 \r
5 update configh.dos config.h\r
6 \r
7 echo # Makefile generated by "configure.bat"> Makefile\r
8 \r
9 if exist config.sed del config.sed\r
11 echo ": try_sl                                          ">> config.sed\r
12 echo "/\\$/ {                                           ">> config.sed\r
13 echo "  N                                               ">> config.sed\r
14 echo "  s/[     ]*\\\n[         ]*/ /                   ">> config.sed\r
15 echo "  b try_sl                                        ">> config.sed\r
16 echo "}                                                 ">> config.sed\r
18 echo "s/@srcdir@/./                                     ">> config.sed\r
19 echo "s/@CC@/gcc/                                       ">> config.sed\r
20 echo "s/@CFLAGS@/-O2 -g/                                ">> config.sed\r
21 echo "s/@CPPFLAGS@/-DHAVE_CONFIG_H/                     ">> config.sed\r
22 echo "s/@LDFLAGS@//                                     ">> config.sed\r
23 echo "s/@RANLIB@/ranlib/                                ">> config.sed\r
24 echo "s/@DEFS@//                                        ">> config.sed\r
25 echo "s/@REMOTE@/stub/                                  ">> config.sed\r
26 echo "s/@ALLOCA@//                                      ">> config.sed\r
27 echo "s/@LIBS@//                                        ">> config.sed\r
28 echo "s/@LIBOBJS@//                                     ">> config.sed\r
29 echo "s/@SET_MAKE@//                                    ">> config.sed\r
30 echo "s/^Makefile *:/_Makefile:/                        ">> config.sed\r
31 echo "s/^config.h *:/_config.h:/                        ">> config.sed\r
32 echo "s/^defines *=.*$/defines =/                       ">> config.sed\r
33 echo "/mv -f make.new make/d                            ">> config.sed\r
35 echo "s/cd glob; $(MAKE)/$(MAKE) -C glob/               ">> config.sed\r
37 sed -e "s/^\"//" -e "s/\"$//" -e "s/[   ]*$//" config.sed > config2.sed\r
38 sed -f config2.sed Makefile.in >> Makefile\r
39 del config.sed\r
40 del config2.sed\r
42 cd glob\r
43 call configure\r
44 cd ..\r