From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2010) id 6D0C93857831; Sun, 12 Jun 2022 23:47:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D0C93857831 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Eric Gallager To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/egallager/heads/autotools-tinkering)] looks like I missed an _au_m4_changequote X-Act-Checkin: gcc X-Git-Author: Eric Gallager X-Git-Refname: refs/users/egallager/heads/autotools-tinkering X-Git-Oldrev: 6201ea50049b93d6a9c0c45c94414552c80d9245 X-Git-Newrev: 55a1c9f6fd02426151ae8d55b380e2861992f80f Message-Id: <20220612234751.6D0C93857831@sourceware.org> Date: Sun, 12 Jun 2022 23:47:51 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2022 23:47:51 -0000 https://gcc.gnu.org/g:55a1c9f6fd02426151ae8d55b380e2861992f80f commit 55a1c9f6fd02426151ae8d55b380e2861992f80f Author: Eric Gallager 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 #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 -#include ], [ +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include +#include ]], [[ #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])