public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Eric Gallager <egallager@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/egallager/heads/autotools-tinkering)] looks like I missed an _au_m4_changequote Date: Sun, 12 Jun 2022 23:47:51 +0000 (GMT) [thread overview] Message-ID: <20220612234751.6D0C93857831@sourceware.org> (raw) https://gcc.gnu.org/g:55a1c9f6fd02426151ae8d55b380e2861992f80f commit 55a1c9f6fd02426151ae8d55b380e2861992f80f Author: Eric Gallager <egallager@gcc.gnu.org> Date: Sun Jun 12 19:47:24 2022 -0400 looks like I missed an _au_m4_changequote in config/acinclude.m4 Diff: --- config/acinclude.m4 | 21 +++++++++------------ gcc/aclocal.m4 | 4 ++-- libcpp/aclocal.m4 | 5 +++-- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/config/acinclude.m4 b/config/acinclude.m4 index 5d5dc08d09f..e8bb5a58e3c 100644 --- a/config/acinclude.m4 +++ b/config/acinclude.m4 @@ -37,8 +37,7 @@ fi dnl See if the G++ compiler we found works. AC_DEFUN([CYG_AC_PROG_GXX_WORKS], [AC_MSG_CHECKING([whether the G++ compiler ($CXX $CXXFLAGS $LDFLAGS) actually works]) -AC_LANG_SAVE -AC_LANG([C++]) +AC_LANG_PUSH([C++]) dnl Try a test case. We only compile, because it's close to impossible dnl to get a correct fully linked executable with a cross compiler. For dnl most cross compilers, this test is bogus. For G++, we can use various @@ -89,7 +88,7 @@ else ac_cv_prog_cxx_works=yes fi -AC_LANG_RESTORE +AC_LANG_POP([]) AC_MSG_RESULT($ac_cv_prog_cxx_works) if test x"$ac_cv_prog_cxx_works" = xno; then AC_MSG_ERROR([installation or configuration problem: C++ compiler cannot create executables.]) @@ -134,8 +133,7 @@ fi dnl See if the GCC compiler we found works. AC_DEFUN([CYG_AC_PROG_GCC_WORKS], [AC_MSG_CHECKING([whether the Gcc compiler ($CC $CFLAGS $LDFLAGS) actually works]) -AC_LANG_SAVE -AC_LANG([C]) +AC_LANG_PUSH([C]) dnl Try a test case. We only compile, because it's close to impossible dnl to get a correct fully linked executable with a cross dnl compiler. For most cross compilers, this test is bogus. For G++, @@ -185,7 +183,7 @@ else ac_cv_prog_cc_works=yes fi -AC_LANG_RESTORE +AC_LANG_POP([]) AC_MSG_RESULT($ac_cv_prog_cc_works) if test x"$ac_cv_prog_cc_works" = xno; then AC_MSG_ERROR([installation or configuration problem: C++ compiler cannot create executables.]) @@ -567,11 +565,11 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> #if !BYTE_ORDER || !_BIG_ENDIAN || !_LITTLE_ENDIAN bogus endian macros #endif]])],[# It does; now see whether it defined to _LITTLE_ENDIAN or not. -_au_m4_changequote([,])AC_TRY_COMPILE([#include <sys/types.h> -#include <sys/param.h>], [ +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> +#include <sys/param.h>]], [[ #if BYTE_ORDER != _LITTLE_ENDIAN not big endian -#endif], ac_cv_c_little_endian=yes, ac_cv_c_little_endian=no) +#endif]])],[ac_cv_c_little_endian=yes],[ac_cv_c_little_endian=no]) ],[]) if test ${ac_cv_c_little_endian} = unknown; then old_cflags=$CFLAGS @@ -614,8 +612,7 @@ dnl Look for the path to libgcc, so we can use it to directly link dnl in libgcc.a with LD. AC_DEFUN([CYG_AC_PATH_LIBGCC], [AC_MSG_CHECKING([Looking for the path to libgcc.a]) -AC_LANG_SAVE -AC_LANG([C]) +AC_LANG_PUSH([C]) dnl Get Gcc's full path to libgcc.a libgccpath=`${CC} --print-libgcc` @@ -637,6 +634,6 @@ else AC_MSG_ERROR(Not using gcc) fi -AC_LANG_RESTORE +AC_LANG_POP([]) AC_SUBST(LIBGCC) ]) diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 6be36df5190..62f8e91b6df 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.5 -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff --git a/libcpp/aclocal.m4 b/libcpp/aclocal.m4 index 70c3eff750b..27d5ce2e7c6 100644 --- a/libcpp/aclocal.m4 +++ b/libcpp/aclocal.m4 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- +# generated automatically by aclocal 1.16.5 -*- Autoconf -*- -# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -23,4 +23,5 @@ m4_include([../config/lead-dot.m4]) m4_include([../config/lib-ld.m4]) m4_include([../config/lib-link.m4]) m4_include([../config/lib-prefix.m4]) +m4_include([../config/override.m4]) m4_include([../config/warnings.m4])
reply other threads:[~2022-06-12 23:47 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220612234751.6D0C93857831@sourceware.org \ --to=egallager@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).