xref: /OK3568_Linux_fs/buildroot/package/libmemcached/0003-move-ac_config_aux_dir.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Move AC_CONFIG_AUX_DIR up a few lines so the autotools can find it
2
3This patch is based on the same solution adopted by Debian:
4
5  https://lists.debian.org/debian-release/2014/11/msg01231.html
6
7Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
8
9diff -rup a/configure.ac b/configure.ac
10--- a/configure.ac	2014-02-09 11:52:42.000000000 +0000
11+++ b/configure.ac	2015-01-06 15:07:10.003074775 +0000
12@@ -13,11 +13,12 @@ m4_include([version.m4])
13 AC_PREREQ([2.61])
14 AC_INIT([libmemcached],VERSION_NUMBER,[http://libmemcached.org/])
15
16+AC_CONFIG_AUX_DIR([build-aux])
17+
18 # Setup the compilers early on
19 AC_PROG_CC([cc gcc clang])
20 AC_PROG_CXX([c++ g++ clang++])
21
22-AC_CONFIG_AUX_DIR([build-aux])
23 AC_CONFIG_MACRO_DIR([m4])
24
25 AC_CANONICAL_HOST
26