NPTL pthread_spin_init implementation.
[glibc/history.git] / posix / glob / configure.bat
blobf3a0f5db6817aa3614ff3512cd673c96d8b2a23c
1 @echo off\r
2 echo Configuring glob for GO32\r
3 rem This batch file assumes a unix-type "sed" program\r
4 \r
5 echo # Makefile generated by "configure.bat"> Makefile\r
6 \r
7 if exist config.sed del config.sed\r
8 \r
9 echo "s/@srcdir@/./                                     ">> config.sed\r
10 echo "s/@CC@/gcc/                                       ">> config.sed\r
11 echo "s/@CFLAGS@/-O2 -g/                                ">> config.sed\r
12 echo "s/@CPPFLAGS@/-DHAVE_CONFIG_H -I../                ">> config.sed\r
13 echo "s/@AR@/ar/                                        ">> config.sed\r
14 echo "s/@RANLIB@/ranlib/                                ">> config.sed\r
15 echo "s/@LDFLAGS@//                                     ">> config.sed\r
16 echo "s/@DEFS@//                                        ">> config.sed\r
17 echo "s/@ALLOCA@//                                      ">> config.sed\r
18 echo "s/@LIBS@//                                        ">> config.sed\r
19 echo "s/@LIBOBJS@//                                     ">> config.sed\r
20 echo "s/^Makefile *:/_Makefile:/                        ">> config.sed\r
21 echo "s/^config.h *:/_config.h:/                        ">> config.sed\r
23 sed -e "s/^\"//" -e "s/\"$//" -e "s/[   ]*$//" config.sed > config2.sed\r
24 sed -f config2.sed Makefile.in >> Makefile\r
25 del config.sed\r
26 del config2.sed\r