summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-03-27 13:44:04 (GMT)
committerGitHub <noreply@github.com>2021-03-27 13:44:04 (GMT)
commit5d6e8c1c1a5f667cdce99cb3c563ac922198678d (patch)
treea9b3d1b75cdedbf2dccb14f301fa0c361e464e7d /configure.ac
parent11b85abbae8aaa8410b19f358abd7b401881bb1c (diff)
downloadcpython-5d6e8c1c1a5f667cdce99cb3c563ac922198678d.zip
cpython-5d6e8c1c1a5f667cdce99cb3c563ac922198678d.tar.gz
cpython-5d6e8c1c1a5f667cdce99cb3c563ac922198678d.tar.bz2
bpo-43617: Check autoconf-archive package in configure.ac (GH-25016)
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 11 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index e43b773..0db7e60 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,9 @@
-dnl ***********************************************
-dnl * Please run autoreconf to test your changes! *
-dnl ***********************************************
+dnl ***************************************************
+dnl * Please run autoreconf -if to test your changes! *
+dnl ***************************************************
+dnl
+dnl Python's configure script requires autoconf 2.69 and autoconf-archive.
+dnl
# Set VERSION so we only need to edit in one place (i.e., here)
m4_define(PYTHON_VERSION, 3.10)
@@ -9,7 +12,11 @@ AC_PREREQ([2.69])
AC_INIT([python],[PYTHON_VERSION],[https://bugs.python.org/])
-AC_CONFIG_MACRO_DIR(m4)
+m4_ifdef(
+ [AX_C_FLOAT_WORDS_BIGENDIAN],
+ [],
+ [AC_MSG_ERROR([Please install autoconf-archive package and re-run autoreconf])]
+)
AC_SUBST(BASECPPFLAGS)
if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then