]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Make it easier to rebuild configure files.
authorSimon Marchi <simon.marchi@efficios.com>
Sun, 26 Jun 2022 18:43:33 +0000 (14:43 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Sun, 26 Jun 2022 18:43:33 +0000 (14:43 -0400)
Add

  AC_CONFIG_MACRO_DIRS([../config])

So that just running:

  $ autoreconf -vf

... does the right thing (no need to specify -I ../config).

Note: I don't have access to the gcc repo, so if this patch is approved,
can somebody push it there on my behalf?  I can push it to binutils-gdb.

libiberty/ChangeLog:

* configure.ac: Add AC_CONFIG_MACRO_DIRS call.
* configure: Re-generate.

libiberty/configure
libiberty/configure.ac

index 0a797255c70c00f66a569c98ef2ddaa97d21e9f0..1d42a5e3a115cd9168cdb5e528c1d7b5e6c9a9bb 100755 (executable)
@@ -2459,6 +2459,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # This works around the fact that libtool configuration may change LD
 # for this particular configuration, but some shells, instead of
 # keeping the changes in LD private, export them just because LD is
index 84a7b378fad9d082951d79055a5dd2c435015b37..28d996f9cf7b7c84247a81b0fbcb3a1ae6adcb9e 100644 (file)
@@ -2,6 +2,7 @@ dnl Process this file with autoconf to produce a configure script
 
 AC_INIT
 AC_CONFIG_SRCDIR([xmalloc.c])
+AC_CONFIG_MACRO_DIRS([../config])
 
 # This works around the fact that libtool configuration may change LD
 # for this particular configuration, but some shells, instead of