* gprofng configure target tests
@ 2022-03-17 10:59 Alan Modra
2022-03-17 18:20 ` Vladimir Mezentsev
0 siblings, 1 reply; 2+ messages in thread
From: Alan Modra @ 2022-03-17 10:59 UTC (permalink / raw)
To: binutils
${target} in configure.ac should be the canonical target, so that for
example, someone configuring with --target=x86_64-linux will match
x86_64-*-linux*.
* configure.ac: Invoke AC_CANONICAL_TARGET.
* libcollector/configure.ac: Likewise.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* gp-display-html/Makefile.in: Regenerate.
* libcollector/Makefile.in: Regenerate.
* libcollector/configure: Regenerate.
* src/Makefile.in: Regenerate.
diff --git a/gprofng/configure.ac b/gprofng/configure.ac
index 23fee8705ac..c05e98192f3 100644
--- a/gprofng/configure.ac
+++ b/gprofng/configure.ac
@@ -18,6 +18,7 @@ dnl <http://www.gnu.org/licenses/>.
m4_include([../bfd/version.m4])
AC_INIT([gprofng], BFD_VERSION)
+AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([subdir-objects])
AM_MAINTAINER_MODE
diff --git a/gprofng/libcollector/configure.ac b/gprofng/libcollector/configure.ac
index d82733fbc39..1da916ef83c 100644
--- a/gprofng/libcollector/configure.ac
+++ b/gprofng/libcollector/configure.ac
@@ -20,6 +20,7 @@ m4_include([../../bfd/version.m4])
AC_INIT([gprofng], BFD_VERSION)
AC_CONFIG_MACRO_DIRS([../../config ../..])
AC_CONFIG_AUX_DIR(../..)
+AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gprofng configure target tests
2022-03-17 10:59 gprofng configure target tests Alan Modra
@ 2022-03-17 18:20 ` Vladimir Mezentsev
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Mezentsev @ 2022-03-17 18:20 UTC (permalink / raw)
To: Alan Modra, binutils
Hi Alan,
Please check in your patch.
Thank you,
-Vladimir
On 3/17/22 03:59, Alan Modra via Binutils wrote:
> ${target} in configure.ac should be the canonical target, so that for
> example, someone configuring with --target=x86_64-linux will match
> x86_64-*-linux*.
>
> * configure.ac: Invoke AC_CANONICAL_TARGET.
> * libcollector/configure.ac: Likewise.
> * Makefile.in: Regenerate.
> * configure: Regenerate.
> * doc/Makefile.in: Regenerate.
> * gp-display-html/Makefile.in: Regenerate.
> * libcollector/Makefile.in: Regenerate.
> * libcollector/configure: Regenerate.
> * src/Makefile.in: Regenerate.
>
> diff --git a/gprofng/configure.ac b/gprofng/configure.ac
> index 23fee8705ac..c05e98192f3 100644
> --- a/gprofng/configure.ac
> +++ b/gprofng/configure.ac
> @@ -18,6 +18,7 @@ dnl <http://www.gnu.org/licenses/>.
>
> m4_include([../bfd/version.m4])
> AC_INIT([gprofng], BFD_VERSION)
> +AC_CANONICAL_TARGET
> AM_INIT_AUTOMAKE([subdir-objects])
> AM_MAINTAINER_MODE
>
> diff --git a/gprofng/libcollector/configure.ac b/gprofng/libcollector/configure.ac
> index d82733fbc39..1da916ef83c 100644
> --- a/gprofng/libcollector/configure.ac
> +++ b/gprofng/libcollector/configure.ac
> @@ -20,6 +20,7 @@ m4_include([../../bfd/version.m4])
> AC_INIT([gprofng], BFD_VERSION)
> AC_CONFIG_MACRO_DIRS([../../config ../..])
> AC_CONFIG_AUX_DIR(../..)
> +AC_CANONICAL_TARGET
> AM_INIT_AUTOMAKE
> AM_MAINTAINER_MODE
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-17 18:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 10:59 gprofng configure target tests Alan Modra
2022-03-17 18:20 ` Vladimir Mezentsev
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).