The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libfcgi / 0004-make-autoreconfable.patch
1 Make the package autoreconfigurable
2
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.
6
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
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
15  
16  INCLUDEDIR  = ../include
17 -CPPFLAGS    = @CPPFLAGS@ -I$(top_srcdir)/include
18 +AM_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
19  
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.
29  
30 -AC_INIT
31 -AM_INIT_AUTOMAKE(fcgi, 2.4.0)
32 +AC_INIT([fcgi], [2.4.0])
33 +AM_INIT_AUTOMAKE([foreign])
34  
35  AM_CONFIG_HEADER(fcgi_config.h)
36  
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
48  
49  INCLUDEDIR  = ../include
50 -CPPFLAGS    = @CPPFLAGS@ -I$(top_srcdir)/include
51 +AM_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
52  
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 $
61  
62  INCLUDEDIR  = ../include
63 -CPPFLAGS    = @CPPFLAGS@ -I$(top_srcdir)/include
64 +AM_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include
65  
66  INCLUDE_FILES = $(INCLUDEDIR)/fastcgi.h     \
67                  $(INCLUDEDIR)/fcgiapp.h     \