public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libiberty: add AC_CONFIG_MACRO_DIRS
@ 2022-04-08 16:01 Simon Marchi
  2022-06-26 18:44 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Marchi @ 2022-04-08 16:01 UTC (permalink / raw)
  To: gdb-patches, binutils, gcc-patches; +Cc: Simon Marchi

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.

Change-Id: Ic600481d03b36c95aacc555300b78d9cc0ef06bc
---
 libiberty/configure    | 1 +
 libiberty/configure.ac | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libiberty/configure b/libiberty/configure
index e09ddd91e584..306c07bd37e9 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -2461,6 +2461,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 f59f35e1f208..6c1ff9c60933 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
-- 
2.26.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libiberty: add AC_CONFIG_MACRO_DIRS
  2022-04-08 16:01 [PATCH] libiberty: add AC_CONFIG_MACRO_DIRS Simon Marchi
@ 2022-06-26 18:44 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2022-06-26 18:44 UTC (permalink / raw)
  To: binutils



On 4/8/2022 10:01 AM, Simon Marchi via Binutils wrote:
> 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.
THanks.  Sorry for the delay.  I've pushed this to the trunk.
Jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-26 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08 16:01 [PATCH] libiberty: add AC_CONFIG_MACRO_DIRS Simon Marchi
2022-06-26 18:44 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).