summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-06-26 14:43:33 -0400
committerJeff Law <jeffreyalaw@gmail.com>2022-06-26 14:43:33 -0400
commit1f237573caa5cf72218ea31fe78eb3983a717ca6 (patch)
treefeb7e3d3b6f93e0f0b29116f3238981ebec28b45 /libiberty
parent57988cbe73ef9f8bf2d0f123a0cd934fc1e2a6d8 (diff)
downloadgcc-1f237573caa5cf72218ea31fe78eb3983a717ca6.tar.gz
Make it easier to rebuild configure files.
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.
Diffstat (limited to 'libiberty')
-rwxr-xr-xlibiberty/configure1
-rw-r--r--libiberty/configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 0a797255c70..1d42a5e3a11 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -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
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index 84a7b378fad..28d996f9cf7 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -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