btrfs-progs: bump version to 4.8.3
[buildroot-gz.git] / package / popt / 0002-fix-autoreconf.patch
blobf1fcc57a85d50d91391632d383f6eb3f9088ff00
1 Make sure we can autoreconfigure popt
3 This commit makes a few changes in the popt build system to allow it
4 to be autoreconfigured with modern autotools:
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.
9 - the AM_C_PROTOTYPES macro is deprecated and should no longer be
10 used, causes an error with autoconf/automake.
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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"
22 -TESTS = $(top_srcdir)/testit.sh
24 include_HEADERS = popt.h
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
34 AC_ISC_POSIX
35 -AM_C_PROTOTYPES
37 AC_CHECK_HEADERS(float.h fnmatch.h glob.h langinfo.h libintl.h mcheck.h unistd.h)