0004-configure__set_macro_directory.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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
  7. configure: set macro directory
  8. Setting the macro directory in configure.in, rather than specifying it
  9. on the command line, ensures that it is properly searched in the correct
  10. order, and that autoreconf properly updates our macros with the newer
  11. system ones, if any.
  12. Fixes:
  13. http://autobuild.buildroot.org/results/63a/63ae0bddb3c4436efe967c318e299047f496c5a5/build-end.log
  14. libtool: Version mismatch error. This is libtool 2.4.6, but the
  15. libtool: definition of this LT_INIT comes from libtool 2.2.6.
  16. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
  17. libtool: and run autoconf again.
  18. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
  19. diff --git a/configure.in b/configure.in
  20. --- a/configure.in
  21. +++ b/configure.in
  22. @@ -1,6 +1,7 @@
  23. dnl Process this file with autoconf to produce a configure script.
  24. AC_INIT(README)
  25. AC_CONFIG_AUX_DIR(build-scripts)
  26. +AC_CONFIG_MACRO_DIR([acinclude])
  27. dnl Set various version strings - taken gratefully from the GTk sources