gprofng configure target tests
Vladimir Mezentsev
vladimir.mezentsev@oracle.com
Thu Mar 17 18:20:14 GMT 2022
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
>
>
More information about the Binutils
mailing list