diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-04 14:24:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-04 14:24:13 (GMT) |
commit | ab7b060df7fac88418159922d71fd040b4af592f (patch) | |
tree | ef1ea09a1d721777e3b462d44421745b5984e097 /tools | |
parent | a29e5ccac394745c72c373aefef2f1298e108aaf (diff) | |
download | tcl-ab7b060df7fac88418159922d71fd040b4af592f.zip tcl-ab7b060df7fac88418159922d71fd040b4af592f.tar.gz tcl-ab7b060df7fac88418159922d71fd040b4af592f.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-x | tools/configure | 2 | ||||
-rw-r--r-- | tools/configure.in | 6 |
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 |