From f514a864765f722fd85fd107b219f072cad90102 Mon Sep 17 00:00:00 2001 From: neroden Date: Sun, 7 Dec 2003 14:13:53 +0000 Subject: [PATCH] * configure.in: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM with modern equivalents. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74392 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/configure | 6 +++++- gcc/configure.in | 12 +++++++++--- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f34f808..d72f5a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2003-12-07 Nathanael Nerode + * configure.in: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM + with modern equivalents. + * configure: Regenerate. + * configure.in: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE. * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove. * configure: Regenerate. diff --git a/gcc/configure b/gcc/configure index 2ea4a6b..515303a 100755 --- a/gcc/configure +++ b/gcc/configure @@ -1325,6 +1325,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_config_headers="$ac_config_headers auto-host.h:config.in" @@ -4967,7 +4968,7 @@ if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then else ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'` - echo "configure:4970: version of makeinfo is $ac_prog_version" >&5 + echo "configure:4971: version of makeinfo is $ac_prog_version" >&5 case $ac_prog_version in '') gcc_cv_prog_makeinfo_modern=no;; 4.[2-9]*) @@ -12069,7 +12070,10 @@ fi # Create the Makefile # and configure language subdirectories ac_config_files="$ac_config_files $all_outputs" + + ac_config_commands="$ac_config_commands default" + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure diff --git a/gcc/configure.in b/gcc/configure.in index fb8d022..58000b2 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -26,11 +26,14 @@ # -------------------------------- AC_PREREQ(2.57) -AC_INIT(tree.c) +AC_INIT +AC_CONFIG_SRCDIR(tree.c) AC_CONFIG_HEADER(auto-host.h:config.in) # Determine the host, build, and target systems -AC_CANONICAL_SYSTEM +AC_CANONICAL_BUILD +AC_CANONICAL_HOST +AC_CANONICAL_TARGET # Determine the noncanonical target name, for directory use. _GCC_TOPLEV_NONCANONICAL_TARGET @@ -3038,7 +3041,9 @@ fi # Create the Makefile # and configure language subdirectories -AC_OUTPUT($all_outputs, +AC_CONFIG_FILES($all_outputs) + +AC_CONFIG_COMMANDS([default], [ case ${CONFIG_HEADERS} in *auto-host.h:config.in*) @@ -3071,3 +3076,4 @@ else true ; fi [subdirs='$subdirs' symbolic_link='$symbolic_link' ]) +AC_OUTPUT -- 2.7.4