public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/egallager/heads/autotools-tinkering)] autoscan/autoupdate in gcc subdir
@ 2022-05-25  5:08 Eric Gallager
  0 siblings, 0 replies; only message in thread
From: Eric Gallager @ 2022-05-25  5:08 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:bf2906a8676c0b3dd977c3c58adb1904e9e99999

commit bf2906a8676c0b3dd977c3c58adb1904e9e99999
Author: Eric Gallager <egallager@gcc.gnu.org>
Date:   Wed May 25 01:08:33 2022 -0400

    autoscan/autoupdate in gcc subdir

Diff:
---
 gcc/acinclude.m4   |  3 +-
 gcc/configure      |  7 ++---
 gcc/configure.ac   |  8 +++---
 gcc/configure.scan | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 91 insertions(+), 11 deletions(-)

diff --git a/gcc/acinclude.m4 b/gcc/acinclude.m4
index 39ad1139a15..d2383fc73a4 100644
--- a/gcc/acinclude.m4
+++ b/gcc/acinclude.m4
@@ -41,8 +41,7 @@ dnl Arrange to define HAVE_DECL_<FUNCTION> to 0 or 1 as appropriate.
 dnl gcc_AC_CHECK_DECLS(SYMBOLS,
 dnl 	[ACTION-IF-NEEDED [, ACTION-IF-NOT-NEEDED [, INCLUDES]]])
 AC_DEFUN([gcc_AC_CHECK_DECLS],
-[AC_FOREACH([gcc_AC_Func], [$1],
-  [AH_TEMPLATE(AS_TR_CPP(HAVE_DECL_[]gcc_AC_Func),
+[m4_foreach_w([gcc_AC_Func],[$1],[AH_TEMPLATE(AS_TR_CPP(HAVE_DECL_[]gcc_AC_Func),
   [Define to 1 if we found a declaration for ']gcc_AC_Func[', otherwise
    define to 0.])])dnl
 for ac_func in $1
diff --git a/gcc/configure b/gcc/configure
index 6b8d71094f3..232f5ea9c50 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -5040,8 +5040,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-
-
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
@@ -5259,7 +5257,6 @@ else
 fi
 
 
-
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
 set dummy ${ac_tool_prefix}gdc; ac_word=$2
@@ -19685,7 +19682,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19688 "configure"
+#line 19685 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -19791,7 +19788,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 19794 "configure"
+#line 19791 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/gcc/configure.ac b/gcc/configure.ac
index e9b60a8e7ab..c396c7b41df 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -271,7 +271,7 @@ elif test "${with_sysroot+set}" = set; then
 fi
 
 AC_ARG_WITH(cpp_install_dir,
-[AC_HELP_STRING([--with-cpp-install-dir=DIR],
+[AS_HELP_STRING([--with-cpp-install-dir=DIR],
                 [install the user visible C preprocessor in DIR
                  (relative to PREFIX) as well as PREFIX/bin])],
 [if test x$withval = xyes; then
@@ -7444,7 +7444,7 @@ fi
 
 # Specify what hash style to use by default.
 AC_ARG_WITH([linker-hash-style],
-[AC_HELP_STRING([--with-linker-hash-style={sysv,gnu,both}],
+[AS_HELP_STRING([--with-linker-hash-style={sysv,gnu,both}],
                 [specify the linker hash style])],
 [case x"$withval" in
    xsysv)
@@ -7468,7 +7468,7 @@ fi
 
 # Specify what should be the default of -fdiagnostics-color option.
 AC_ARG_WITH([diagnostics-color],
-[AC_HELP_STRING([--with-diagnostics-color={never,auto,auto-if-env,always}],
+[AS_HELP_STRING([--with-diagnostics-color={never,auto,auto-if-env,always}],
                 [specify the default of -fdiagnostics-color option
                  auto-if-env stands for -fdiagnostics-color=auto if
                  GCC_COLOR environment variable is present and
@@ -7496,7 +7496,7 @@ AC_DEFINE_UNQUOTED(DIAGNOSTICS_COLOR_DEFAULT, $DIAGNOSTICS_COLOR_DEFAULT,
 
 # Specify what should be the default of -fdiagnostics-urls option.
 AC_ARG_WITH([diagnostics-urls],
-[AC_HELP_STRING([--with-diagnostics-urls={never,auto,auto-if-env,always}],
+[AS_HELP_STRING([--with-diagnostics-urls={never,auto,auto-if-env,always}],
                 [specify the default of -fdiagnostics-urls option
                  auto-if-env stands for -fdiagnostics-urls=auto if
                  GCC_URLS or TERM_URLS environment variable is present and
diff --git a/gcc/configure.scan b/gcc/configure.scan
new file mode 100644
index 00000000000..9e4deaf5f8f
--- /dev/null
+++ b/gcc/configure.scan
@@ -0,0 +1,84 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
+AC_CONFIG_SRCDIR([dwarf2ctf.h])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_AWK
+AC_PROG_YACC
+AC_PROG_CXX
+AC_PROG_CC
+AC_PROG_LEX
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_PROG_OBJC
+AC_PROG_RANLIB
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-ld':
+AC_CHECK_LIB([d], [main])
+# FIXME: Replace `main' with a function in `-ldl':
+AC_CHECK_LIB([dl], [main])
+# FIXME: Replace `main' with a function in `-lm':
+AC_CHECK_LIB([m], [main])
+# FIXME: Replace `main' with a function in `-lt':
+AC_CHECK_LIB([t], [main])
+# FIXME: Replace `main' with a function in `-lz':
+AC_CHECK_LIB([z], [main])
+
+# Checks for header files.
+AC_FUNC_ALLOCA
+AC_CHECK_HEADERS([fcntl.h fenv.h float.h inttypes.h langinfo.h libintl.h limits.h locale.h mach/mach.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h termios.h unistd.h utime.h wchar.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_HEADER_STDBOOL
+AC_TYPE_UID_T
+AC_C_INLINE
+AC_TYPE_INT16_T
+AC_TYPE_INT32_T
+AC_TYPE_INT64_T
+AC_TYPE_INT8_T
+AC_TYPE_MODE_T
+AC_FUNC_OBSTACK
+AC_TYPE_OFF_T
+AC_TYPE_PID_T
+AC_C_RESTRICT
+AC_TYPE_SIZE_T
+AC_TYPE_SSIZE_T
+AC_STRUCT_TIMEZONE
+AC_TYPE_UINT16_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT64_T
+AC_TYPE_UINT8_T
+AC_CHECK_TYPES([ptrdiff_t])
+
+# Checks for library functions.
+AM_GNU_GETTEXT
+AC_FUNC_ERROR_AT_LINE
+AC_FUNC_FORK
+AC_FUNC_FSEEKO
+AC_FUNC_GETGROUPS
+AC_HEADER_MAJOR
+AC_FUNC_MALLOC
+AC_FUNC_MKTIME
+AC_FUNC_MMAP
+AC_FUNC_REALLOC
+AC_FUNC_STRCOLL
+AC_FUNC_STRERROR_R
+AC_FUNC_STRNLEN
+AC_FUNC_STRTOD
+AC_CHECK_FUNCS([alarm atexit bzero clock_gettime dup2 endgrent endpwent fesetround floor ftruncate getcwd gethostbyaddr gethostbyname gethostname getpagesize getpass gettimeofday isascii localtime_r mblen memchr memmove mempcpy memset mkdir modf munmap nl_langinfo pow pstat_getdynamic putenv realpath regcomp rint rmdir rpmatch select setenv setlocale sqrt stime stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strndup strpbrk strrchr strspn strstr strtol strtoul strtoull strverscmp tzset uname utime])
+
+AC_CONFIG_FILES([Makefile
+                 ada/Makefile
+                 ada/doc/Makefile
+                 ada/gcc-interface/Makefile
+                 jit/docs/Makefile
+                 jit/docs/_build/texinfo/Makefile
+                 jit/docs/examples/tut04-toyvm/Makefile
+                 testsuite/go.test/test/bench/garbage/Makefile])
+AC_OUTPUT


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

only message in thread, other threads:[~2022-05-25  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25  5:08 [gcc(refs/users/egallager/heads/autotools-tinkering)] autoscan/autoupdate in gcc subdir 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).