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 / popt / 0002-fix-autoreconf.patch
1 Make sure we can autoreconfigure popt
2
3 This commit makes a few changes in the popt build system to allow it
4 to be autoreconfigured with modern autotools:
5
6  - the TESTS variable shouldn't be using $(top_srcdir), and since we
7    don't care about tests in Buildroot, we just disable it.
8
9  - the AM_C_PROTOTYPES macro is deprecated and should no longer be
10    used, causes an error with autoconf/automake.
11
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13
14 Index: b/Makefile.am
15 ===================================================================
16 --- a/Makefile.am
17 +++ b/Makefile.am
18 @@ -37,8 +37,6 @@
19  TESTS_ENVIRONMENT = \
20  test1="$(top_builddir)/test1"
21  
22 -TESTS = $(top_srcdir)/testit.sh
23 -
24  include_HEADERS = popt.h
25  
26  usrlibdir = $(libdir)
27 Index: b/configure.ac
28 ===================================================================
29 --- a/configure.ac
30 +++ b/configure.ac
31 @@ -46,7 +46,6 @@
32  AC_SYS_LARGEFILE
33  
34  AC_ISC_POSIX
35 -AM_C_PROTOTYPES
36  
37  AC_CHECK_HEADERS(float.h fnmatch.h glob.h langinfo.h libintl.h mcheck.h unistd.h)
38