aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-12-07 14:13:53 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-12-07 14:13:53 +0000
commit1f866b457dcc4257bb7c79b0eae9403faf9a33ff (patch)
tree42c0ab994f3287c50779a72075a1e94a70f394bf
parent76761d4715d79968cccbca945f33c3c1060ae292 (diff)
downloadgcc-1f866b457dcc4257bb7c79b0eae9403faf9a33ff.zip
gcc-1f866b457dcc4257bb7c79b0eae9403faf9a33ff.tar.gz
gcc-1f866b457dcc4257bb7c79b0eae9403faf9a33ff.tar.bz2
configure.in: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM with modern equivalents.
* configure.in: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM with modern equivalents. * configure: Regenerate. From-SVN: r74392
-rw-r--r--gcc/ChangeLog4
-rwxr-xr-xgcc/configure6
-rw-r--r--gcc/configure.in12
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 <neroden@gcc.gnu.org>
+ * 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