board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / libfcgi / 0004-make-autoreconfable.patch
blobe255fc6d3b8b039c426ef2a864314554d965a836
1 Make the package autoreconfigurable
3 Adjust minor details in Makefile.am and configure.in in order to make
4 the package compatible with the autoconf/automake versions we are
5 using in Buildroot.
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 Index: b/cgi-fcgi/Makefile.am
10 ===================================================================
11 --- a/cgi-fcgi/Makefile.am
12 +++ b/cgi-fcgi/Makefile.am
13 @@ -2,7 +2,7 @@
14 bin_PROGRAMS = cgi-fcgi
16 INCLUDEDIR = ../include
17 -CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
18 +AM_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
20 INCLUDE_FILES = $(INCLUDEDIR)/fastcgi.h \
21 $(INCLUDEDIR)/fcgiapp.h \
22 Index: b/configure.in
23 ===================================================================
24 --- a/configure.in
25 +++ b/configure.in
26 @@ -4,12 +4,13 @@
27 dnl generate the file "configure", which is run during the build
28 dnl to configure the system for the local environment.
30 -AC_INIT
31 -AM_INIT_AUTOMAKE(fcgi, 2.4.0)
32 +AC_INIT([fcgi], [2.4.0])
33 +AM_INIT_AUTOMAKE([foreign])
35 AM_CONFIG_HEADER(fcgi_config.h)
37 AC_PROG_CC
38 +AC_PROG_CC_C_O
39 AC_PROG_CPP
40 AC_PROG_INSTALL
41 AC_PROG_LIBTOOL
42 Index: b/examples/Makefile.am
43 ===================================================================
44 --- a/examples/Makefile.am
45 +++ b/examples/Makefile.am
46 @@ -11,7 +11,7 @@
47 EXTRA_PROGRAMS = threaded echo-cpp
49 INCLUDEDIR = ../include
50 -CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
51 +AM_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
53 INCLUDE_FILES = $(INCLUDEDIR)/fastcgi.h \
54 $(INCLUDEDIR)/fcgiapp.h \
55 Index: b/libfcgi/Makefile.am
56 ===================================================================
57 --- a/libfcgi/Makefile.am
58 +++ b/libfcgi/Makefile.am
59 @@ -1,7 +1,7 @@
60 # $Id: Makefile.am,v 1.9 2001/12/22 03:16:20 robs Exp $
62 INCLUDEDIR = ../include
63 -CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
64 +AM_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
66 INCLUDE_FILES = $(INCLUDEDIR)/fastcgi.h \
67 $(INCLUDEDIR)/fcgiapp.h \