summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-04 14:24:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-04 14:24:13 (GMT)
commita64728f377022c193fba26612ff9f3fbf8deed05 (patch)
treeef1ea09a1d721777e3b462d44421745b5984e097 /tools
parent663806e8bd784acd353b9d8ceb0510efa28ebf28 (diff)
downloadtcl-a64728f377022c193fba26612ff9f3fbf8deed05.zip
tcl-a64728f377022c193fba26612ff9f3fbf8deed05.tar.gz
tcl-a64728f377022c193fba26612ff9f3fbf8deed05.tar.bz2
No longer use deprecated syntax for AC_INIT/AC_OUTPUT. (almost) no change in generated configure scripts
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure2
-rw-r--r--tools/configure.in6
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 3d30039..29a4c1c 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1222,6 +1222,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
# Recover information that Tcl computed with its configure script.
#--------------------------------------------------------------------
@@ -1262,6 +1263,7 @@ CC=$TCL_CC
ac_config_files="$ac_config_files Makefile tcl.hpj"
+
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/tools/configure.in b/tools/configure.in
index 6aebcaa..0793b0a 100644
--- a/tools/configure.in
+++ b/tools/configure.in
@@ -1,7 +1,8 @@
dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run to configure the
dnl Makefile in this directory.
-AC_INIT(man2tcl.c)
+AC_INIT
+AC_CONFIG_SRCDIR([man2tcl.c])
AC_PREREQ(2.59)
# Recover information that Tcl computed with its configure script.
@@ -32,4 +33,5 @@ AC_SUBST(TCL_PATCH_LEVEL)
AC_SUBST(TCL_SRC_DIR)
AC_SUBST(TCL_BIN_DIR)
-AC_OUTPUT(Makefile tcl.hpj)
+AC_CONFIG_FILES([Makefile tcl.hpj])
+AC_OUTPUT