xref: /OK3568_Linux_fs/buildroot/package/sdl_mixer/0002-configure__set_macro_directory.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# HG changeset patch
2# User "Yann E. MORIN" <yann.morin.1998@free.fr>
3# Date 1581183281 -3600
4#      Sat Feb 08 18:34:41 2020 +0100
5# Node ID 753a1f394620056c35790a571ff5f7c248445943
6# Parent  eb5f08bf9994bf5164ca68015f2e030c2c9dddcd
7configure: set macro directory
8
9Setting the macro directory in configure.in, rather than specifying it
10on the command line, ensures that it is properly searched in the correct
11order, and that autoreconf properly updates our macros with the newer
12system ones, if any.
13
14Fixes:
15    http://autobuild.buildroot.org/results/63a/63ae0bddb3c4436efe967c318e299047f496c5a5/build-end.log
16
17    libtool: Version mismatch error.  This is libtool 2.4.6, but the
18    libtool: definition of this LT_INIT comes from libtool 2.2.6.
19    libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
20    libtool: and run autoconf again.
21
22Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
23
24diff --git a/configure.ac b/configure.ac
25--- a/configure.ac
26+++ b/configure.ac
27@@ -1,6 +1,7 @@
28 dnl Process this file with autoconf to produce a configure script.
29 AC_INIT(README)
30 AC_CONFIG_AUX_DIR(build-scripts)
31+AC_CONFIG_MACRO_DIR([acinclude])
32
33 dnl Set various version strings - taken gratefully from the GTk sources
34
35