[LTP] [PATCH 1/2] configure.ac: Require 2.64

Petr Vorel pvorel@suse.cz
Tue Jan 3 13:45:04 CET 2023


autoconf 2.64 is required by m4/ax_check_compile_flag.m4
(for _AC_LANG_PREFIX and AS_VAR_IF).

Testing on old distro (CentOS 6) with autoconf-2.63-5.1.el6.noarch
make autotools fails:

aclocal -I m4
configure.ac:397: error: Autoconf version 2.64 or higher is required
m4/ax_check_compile_flag.m4:39: AX_CHECK_COMPILE_FLAG is expanded from...
configure.ac:397: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
make: *** [aclocal.m4] Error 63

Fixes: a08cbaea73 ("Add AX_CHECK_COMPILE_FLAG() autoconf macro")

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 1ab7cc60da..c2b0f48e79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_PREREQ(2.61)
+AC_PREREQ(2.64)
 AC_INIT([ltp], [LTP_VERSION], [ltp@lists.linux.it])
 AC_CONFIG_AUX_DIR([.])
 AM_INIT_AUTOMAKE
-- 
2.39.0



More information about the ltp mailing list