Release GNU make 3.81.
[make.git] / glob / configure.bat
blobe5007aaf5ff8d032c7b01a84ad46904a3ac57ee7
1 @echo off\r
2 rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,\r
3 rem 2004, 2005, 2006 Free Software Foundation, Inc.\r
4 rem This file is part of GNU Make.\r
5 \r
6 rem GNU Make is free software; you can redistribute it and/or modify it under\r
7 rem the terms of the GNU General Public License as published by the Free\r
8 rem Software Foundation; either version 2, or (at your option) any later\r
9 rem version.\r
11 rem GNU Make is distributed in the hope that it will be useful, but WITHOUT\r
12 rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
13 rem FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
14 rem more details.\r
16 rem You should have received a copy of the GNU General Public License along\r
17 rem with GNU Make; see the file COPYING.  If not, write to the Free Software\r
18 rem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\r
20 echo Configuring glob for DJGPP\r
21 rem This batch file assumes a unix-type "sed" program\r
23 echo # Makefile generated by "configure.bat"> Makefile\r
25 if exist config.sed del config.sed\r
27 echo "s/@srcdir@/./                                     ">> config.sed\r
28 echo "s/@CC@/gcc/                                       ">> config.sed\r
29 echo "s/@CFLAGS@/-O2 -g/                                ">> config.sed\r
30 echo "s/@CPPFLAGS@/-DHAVE_CONFIG_H -I../                ">> config.sed\r
31 echo "s/@AR@/ar/                                        ">> config.sed\r
32 echo "s/@RANLIB@/ranlib/                                ">> config.sed\r
33 echo "s/@LDFLAGS@//                                     ">> config.sed\r
34 echo "s/@DEFS@//                                        ">> config.sed\r
35 echo "s/@ALLOCA@//                                      ">> config.sed\r
36 echo "s/@LIBS@//                                        ">> config.sed\r
37 echo "s/@LIBOBJS@//                                     ">> config.sed\r
38 echo "s/^Makefile *:/_Makefile:/                        ">> config.sed\r
39 echo "s/^config.h *:/_config.h:/                        ">> config.sed\r
41 sed -e "s/^\"//" -e "s/\"$//" -e "s/[   ]*$//" config.sed > config2.sed\r
42 sed -f config2.sed Makefile.in >> Makefile\r
43 del config.sed\r
44 del config2.sed\r