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

https://gcc.gnu.org/g:7b6695abddb880d356eca633d896fa2613e92815

commit 7b6695abddb880d356eca633d896fa2613e92815
Author: Eric Gallager <egallager@gcc.gnu.org>
Date:   Wed May 25 01:47:11 2022 -0400

    autofoo more subdirectories

Diff:
---
 libada/configure            |  4 ++--
 libatomic/configure         |  4 ++--
 libbacktrace/configure      |  7 +++----
 libbacktrace/configure.ac   |  6 +++---
 libbacktrace/configure.scan | 44 ++++++++++++++++++++++++++++++++++++++++++++
 libcc1/configure            |  7 +++----
 libcc1/configure.ac         |  6 +++---
 libcc1/configure.scan       | 30 ++++++++++++++++++++++++++++++
 8 files changed, 90 insertions(+), 18 deletions(-)

diff --git a/libada/configure b/libada/configure
index 39d0bda9e45..9c8b133d817 100755
--- a/libada/configure
+++ b/libada/configure
@@ -4941,8 +4941,8 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
 # Only add multilib support code if we just rebuilt the top-level
 # Makefile.
 case " $CONFIG_FILES " in
- *" m4_default(,Makefile) "*)
-   ac_file=m4_default(,Makefile) . ${multi_basedir}/config-ml.in
+ *" Makefile "*)
+   ac_file=Makefile . ${multi_basedir}/config-ml.in
    ;;
 esac ;;
 
diff --git a/libatomic/configure b/libatomic/configure
index d8ea76309f4..a0aafb6a4d2 100755
--- a/libatomic/configure
+++ b/libatomic/configure
@@ -17425,8 +17425,8 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
 # Only add multilib support code if we just rebuilt the top-level
 # Makefile.
 case " $CONFIG_FILES " in
- *" m4_default(,Makefile) "*)
-   ac_file=m4_default(,Makefile) . ${multi_basedir}/config-ml.in
+ *" Makefile "*)
+   ac_file=Makefile . ${multi_basedir}/config-ml.in
    ;;
 esac ;;
     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
diff --git a/libbacktrace/configure b/libbacktrace/configure
index 17f470a4bec..7216d774945 100755
--- a/libbacktrace/configure
+++ b/libbacktrace/configure
@@ -2723,7 +2723,6 @@ test -n "$target_alias" &&
   test "$program_prefix$program_suffix$program_transform_name" = \
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
-
 target_alias=${target_alias-$host_alias}
 
 # Expand $ac_aux_dir to an absolute path.
@@ -11511,7 +11510,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11514 "configure"
+#line 11513 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11617,7 +11616,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11620 "configure"
+#line 11619 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12250,7 +12249,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 WARN_FLAGS=
 save_CFLAGS="$CFLAGS"
-for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
+for real_option in -Wall -Wextra -Wwrite-strings -Wstrict-prototypes \
 			  -Wmissing-prototypes -Wold-style-definition \
 			  -Wmissing-format-attribute -Wcast-qual; do
   # Do the check with the no- prefix removed since gcc silently
diff --git a/libbacktrace/configure.ac b/libbacktrace/configure.ac
index 597c9705db8..a428434f07a 100644
--- a/libbacktrace/configure.ac
+++ b/libbacktrace/configure.ac
@@ -29,7 +29,7 @@
 # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 
-AC_INIT(package-unused, version-unused,, libbacktrace)
+AC_INIT([package-unused],[version-unused],[],[libbacktrace])
 AC_CONFIG_SRCDIR(backtrace.h)
 AC_CONFIG_HEADER(config.h)
 
@@ -37,7 +37,7 @@ if test -n "${with_target_subdir}"; then
   AM_ENABLE_MULTILIB(, ..)
 fi
 
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 target_alias=${target_alias-$host_alias}
 
 AC_USE_SYSTEM_EXTENSIONS
@@ -140,7 +140,7 @@ if test -n "${with_target_subdir}"; then
 fi
 AC_SUBST(EXTRA_FLAGS)
 
-ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \
+ACX_PROG_CC_WARNING_OPTS([-Wall -Wextra -Wwrite-strings -Wstrict-prototypes \
 			  -Wmissing-prototypes -Wold-style-definition \
 			  -Wmissing-format-attribute -Wcast-qual],
 			  [WARN_FLAGS])
diff --git a/libbacktrace/configure.scan b/libbacktrace/configure.scan
new file mode 100644
index 00000000000..79b7717c357
--- /dev/null
+++ b/libbacktrace/configure.scan
@@ -0,0 +1,44 @@
+#                                               -*- 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([allocfail.c])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_AWK
+AC_PROG_CC
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-llzma':
+AC_CHECK_LIB([lzma], [main])
+# FIXME: Replace `main' with a function in `-lz':
+AC_CHECK_LIB([z], [main])
+
+# Checks for header files.
+AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h stddef.h stdint.h stdlib.h string.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_INLINE
+AC_TYPE_INT16_T
+AC_TYPE_INT32_T
+AC_TYPE_INT64_T
+AC_TYPE_OFF_T
+AC_TYPE_SIZE_T
+AC_TYPE_SSIZE_T
+AC_TYPE_UINT16_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT64_T
+AC_TYPE_UINT8_T
+
+# Checks for library functions.
+AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
+AC_FUNC_MALLOC
+AC_FUNC_MMAP
+AC_FUNC_REALLOC
+AC_FUNC_STRNLEN
+AC_CHECK_FUNCS([clock_gettime getpagesize memset munmap strdup strerror strrchr strtol])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/libcc1/configure b/libcc1/configure
index 01cfb2806da..2a7d7558954 100755
--- a/libcc1/configure
+++ b/libcc1/configure
@@ -2559,7 +2559,6 @@ test -n "$target_alias" &&
   test "$program_prefix$program_suffix$program_transform_name" = \
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
-
 # Expand $ac_aux_dir to an absolute path.
 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 
@@ -10777,7 +10776,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10780 "configure"
+#line 10779 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10883,7 +10882,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10886 "configure"
+#line 10885 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14783,7 +14782,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 WARN_FLAGS=
 save_CFLAGS="$CFLAGS"
-for real_option in -W -Wall; do
+for real_option in -Wall -Wextra; do
   # Do the check with the no- prefix removed since gcc silently
   # accepts any -Wno-* option on purpose
   case $real_option in
diff --git a/libcc1/configure.ac b/libcc1/configure.ac
index 36f5a7e09f1..db254c05788 100644
--- a/libcc1/configure.ac
+++ b/libcc1/configure.ac
@@ -16,11 +16,11 @@ dnl You should have received a copy of the GNU General Public License
 dnl along with GCC; see the file COPYING3.  If not see
 dnl <http://www.gnu.org/licenses/>.
 
-AC_INIT([libcc1], [version-unused])
+AC_INIT([libcc1],[version-unused])
 AC_CONFIG_SRCDIR([libcc1.cc])
 AC_CONFIG_HEADER(cc1plugin-config.h)
 
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 AC_USE_SYSTEM_EXTENSIONS
 # Determine the noncanonical target name, for directory use.
 ACX_NONCANONICAL_TARGET
@@ -62,7 +62,7 @@ fi
 AC_SUBST(gcc_version)
 AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/../gcc/BASE-VER'])
 
-ACX_PROG_CC_WARNING_OPTS([-W -Wall], [WARN_FLAGS])
+ACX_PROG_CC_WARNING_OPTS([-Wall -Wextra], [WARN_FLAGS])
 AC_SUBST(WARN_FLAGS)
 ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual])
 
diff --git a/libcc1/configure.scan b/libcc1/configure.scan
new file mode 100644
index 00000000000..61049077d6d
--- /dev/null
+++ b/libcc1/configure.scan
@@ -0,0 +1,30 @@
+#                                               -*- 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([findcomp.cc])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_CHECK_HEADERS([stdlib.h string.h sys/socket.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_HEADER_STDBOOL
+AC_C_INLINE
+AC_TYPE_PID_T
+AC_TYPE_SIZE_T
+
+# Checks for library functions.
+AC_FUNC_ERROR_AT_LINE
+AC_FUNC_FORK
+AC_CHECK_FUNCS([dup2 memset regcomp select strchr strtol])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT


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

only message in thread, other threads:[~2022-05-25  5:49 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:49 [gcc(refs/users/egallager/heads/autotools-tinkering)] autofoo more subdirectories 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).