public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/egallager/heads/autotools-tinkering)] looks like I missed an _au_m4_changequote
@ 2022-06-12 23:47 Eric Gallager
  0 siblings, 0 replies; only message in thread
From: Eric Gallager @ 2022-06-12 23:47 UTC (permalink / raw)
  To: gcc-cvs

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])


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-12 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-12 23:47 [gcc(refs/users/egallager/heads/autotools-tinkering)] looks like I missed an _au_m4_changequote Eric Gallager

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).