mirror of https://github.com/python/cpython
GH-89886: Bump to GNU Autoconf v2.71 (#104925)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
60f8117d0c
commit
8a8ebf2e3d
|
@ -136,10 +136,10 @@ jobs:
|
||||||
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
|
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
|
||||||
- name: Configure ccache action
|
- name: Configure ccache action
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
- name: Check Autoconf version 2.69 and aclocal 1.16.3
|
- name: Check Autoconf and aclocal versions
|
||||||
run: |
|
run: |
|
||||||
grep "Generated by GNU Autoconf 2.69" configure
|
grep "Generated by GNU Autoconf 2.71" configure
|
||||||
grep "aclocal 1.16.3" aclocal.m4
|
grep "aclocal 1.16.4" aclocal.m4
|
||||||
grep -q "runstatedir" configure
|
grep -q "runstatedir" configure
|
||||||
grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
|
grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
|
||||||
- name: Configure CPython
|
- name: Configure CPython
|
||||||
|
|
|
@ -1531,6 +1531,10 @@ Build Changes
|
||||||
|
|
||||||
* ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.
|
* ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.
|
||||||
|
|
||||||
|
* Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate
|
||||||
|
:file:`!configure`.
|
||||||
|
(Contributed by Christian Heimes in :gh:`89886`.)
|
||||||
|
|
||||||
|
|
||||||
C API Changes
|
C API Changes
|
||||||
=============
|
=============
|
||||||
|
|
|
@ -332,6 +332,10 @@ that may require changes to your code.
|
||||||
Build Changes
|
Build Changes
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
* Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate
|
||||||
|
:file:`!configure`.
|
||||||
|
(Contributed by Christian Heimes in :gh:`89886`.)
|
||||||
|
|
||||||
|
|
||||||
C API Changes
|
C API Changes
|
||||||
=============
|
=============
|
||||||
|
|
|
@ -2566,7 +2566,7 @@ regen-configure:
|
||||||
@if command -v podman >/dev/null; then RUNTIME="podman"; else RUNTIME="docker"; fi; \
|
@if command -v podman >/dev/null; then RUNTIME="podman"; else RUNTIME="docker"; fi; \
|
||||||
if ! command -v $$RUNTIME; then echo "$@ needs either Podman or Docker container runtime." >&2; exit 1; fi; \
|
if ! command -v $$RUNTIME; then echo "$@ needs either Podman or Docker container runtime." >&2; exit 1; fi; \
|
||||||
if command -v selinuxenabled >/dev/null && selinuxenabled; then OPT=":Z"; fi; \
|
if command -v selinuxenabled >/dev/null && selinuxenabled; then OPT=":Z"; fi; \
|
||||||
CMD="$$RUNTIME run --rm --pull=always -v $(abs_srcdir):/src$$OPT quay.io/tiran/cpython_autoconf:269"; \
|
CMD="$$RUNTIME run --rm --pull=always -v $(abs_srcdir):/src$$OPT quay.io/tiran/cpython_autoconf:271"; \
|
||||||
echo $$CMD; \
|
echo $$CMD; \
|
||||||
$$CMD || exit $?
|
$$CMD || exit $?
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate
|
||||||
|
:file:`!configure`.
|
|
@ -1,6 +1,6 @@
|
||||||
# generated automatically by aclocal 1.16.3 -*- Autoconf -*-
|
# generated automatically by aclocal 1.16.4 -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -184,7 +184,7 @@ AS_VAR_POPDEF([CACHEVAR])dnl
|
||||||
# and this notice are preserved. This file is offered as-is, without any
|
# and this notice are preserved. This file is offered as-is, without any
|
||||||
# warranty.
|
# warranty.
|
||||||
|
|
||||||
#serial 10
|
#serial 11
|
||||||
|
|
||||||
AU_ALIAS([CHECK_SSL], [AX_CHECK_OPENSSL])
|
AU_ALIAS([CHECK_SSL], [AX_CHECK_OPENSSL])
|
||||||
AC_DEFUN([AX_CHECK_OPENSSL], [
|
AC_DEFUN([AX_CHECK_OPENSSL], [
|
||||||
|
@ -227,7 +227,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [
|
||||||
if ! $found; then
|
if ! $found; then
|
||||||
OPENSSL_INCLUDES=
|
OPENSSL_INCLUDES=
|
||||||
for ssldir in $ssldirs; do
|
for ssldir in $ssldirs; do
|
||||||
AC_MSG_CHECKING([for openssl/ssl.h in $ssldir])
|
AC_MSG_CHECKING([for include/openssl/ssl.h in $ssldir])
|
||||||
if test -f "$ssldir/include/openssl/ssl.h"; then
|
if test -f "$ssldir/include/openssl/ssl.h"; then
|
||||||
OPENSSL_INCLUDES="-I$ssldir/include"
|
OPENSSL_INCLUDES="-I$ssldir/include"
|
||||||
OPENSSL_LDFLAGS="-L$ssldir/lib"
|
OPENSSL_LDFLAGS="-L$ssldir/lib"
|
||||||
|
@ -621,7 +621,7 @@ AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
|
||||||
|
|
||||||
# AM_CONDITIONAL -*- Autoconf -*-
|
# AM_CONDITIONAL -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
@ -652,7 +652,7 @@ AC_CONFIG_COMMANDS_PRE(
|
||||||
Usually this means the macro was only invoked conditionally.]])
|
Usually this means the macro was only invoked conditionally.]])
|
||||||
fi])])
|
fi])])
|
||||||
|
|
||||||
# Copyright (C) 2006-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2006-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
11
configure.ac
11
configure.ac
|
@ -2,13 +2,20 @@ dnl ***************************************************
|
||||||
dnl * Please run autoreconf -if to test your changes! *
|
dnl * Please run autoreconf -if to test your changes! *
|
||||||
dnl ***************************************************
|
dnl ***************************************************
|
||||||
dnl
|
dnl
|
||||||
dnl Python's configure.ac file requires autoconf 2.69 and autoconf-archive.
|
dnl Python's configure script requires autoconf 2.71, autoconf-archive,
|
||||||
|
dnl pkgconf's m4 macros.
|
||||||
|
dnl
|
||||||
|
dnl It is recommended to use a cpython_autoconf container to regenerate the
|
||||||
|
dnl configure script:
|
||||||
|
dnl
|
||||||
|
dnl podman run --rm --pull=always -v $(pwd):/src:Z quay.io/tiran/cpython_autoconf:271
|
||||||
|
dnl docker run --rm --pull=always -v $(pwd):/src quay.io/tiran/cpython_autoconf:271
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
# Set VERSION so we only need to edit in one place (i.e., here)
|
# Set VERSION so we only need to edit in one place (i.e., here)
|
||||||
m4_define([PYTHON_VERSION], [3.13])
|
m4_define([PYTHON_VERSION], [3.13])
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.71])
|
||||||
|
|
||||||
AC_INIT([python],[PYTHON_VERSION],[https://github.com/python/cpython/issues/])
|
AC_INIT([python],[PYTHON_VERSION],[https://github.com/python/cpython/issues/])
|
||||||
|
|
||||||
|
|
|
@ -784,12 +784,12 @@
|
||||||
/* Define if you have the 'memfd_create' function. */
|
/* Define if you have the 'memfd_create' function. */
|
||||||
#undef HAVE_MEMFD_CREATE
|
#undef HAVE_MEMFD_CREATE
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#undef HAVE_MEMORY_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `memrchr' function. */
|
/* Define to 1 if you have the `memrchr' function. */
|
||||||
#undef HAVE_MEMRCHR
|
#undef HAVE_MEMRCHR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <minix/config.h> header file. */
|
||||||
|
#undef HAVE_MINIX_CONFIG_H
|
||||||
|
|
||||||
/* Define to 1 if you have the `mkdirat' function. */
|
/* Define to 1 if you have the `mkdirat' function. */
|
||||||
#undef HAVE_MKDIRAT
|
#undef HAVE_MKDIRAT
|
||||||
|
|
||||||
|
@ -1184,6 +1184,9 @@
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
#undef HAVE_STDIO_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
@ -1692,21 +1695,87 @@
|
||||||
#ifndef _ALL_SOURCE
|
#ifndef _ALL_SOURCE
|
||||||
# undef _ALL_SOURCE
|
# undef _ALL_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
/* Enable general extensions on macOS. */
|
||||||
|
#ifndef _DARWIN_C_SOURCE
|
||||||
|
# undef _DARWIN_C_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable general extensions on Solaris. */
|
||||||
|
#ifndef __EXTENSIONS__
|
||||||
|
# undef __EXTENSIONS__
|
||||||
|
#endif
|
||||||
/* Enable GNU extensions on systems that have them. */
|
/* Enable GNU extensions on systems that have them. */
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
# undef _GNU_SOURCE
|
# undef _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
/* Enable threading extensions on Solaris. */
|
/* Enable X/Open compliant socket functions that do not require linking
|
||||||
|
with -lxnet on HP-UX 11.11. */
|
||||||
|
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
|
||||||
|
# undef _HPUX_ALT_XOPEN_SOCKET_API
|
||||||
|
#endif
|
||||||
|
/* Identify the host operating system as Minix.
|
||||||
|
This macro does not affect the system headers' behavior.
|
||||||
|
A future release of Autoconf may stop defining this macro. */
|
||||||
|
#ifndef _MINIX
|
||||||
|
# undef _MINIX
|
||||||
|
#endif
|
||||||
|
/* Enable general extensions on NetBSD.
|
||||||
|
Enable NetBSD compatibility extensions on Minix. */
|
||||||
|
#ifndef _NETBSD_SOURCE
|
||||||
|
# undef _NETBSD_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable OpenBSD compatibility extensions on NetBSD.
|
||||||
|
Oddly enough, this does nothing on OpenBSD. */
|
||||||
|
#ifndef _OPENBSD_SOURCE
|
||||||
|
# undef _OPENBSD_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Define to 1 if needed for POSIX-compatible behavior. */
|
||||||
|
#ifndef _POSIX_SOURCE
|
||||||
|
# undef _POSIX_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Define to 2 if needed for POSIX-compatible behavior. */
|
||||||
|
#ifndef _POSIX_1_SOURCE
|
||||||
|
# undef _POSIX_1_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable POSIX-compatible threading on Solaris. */
|
||||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||||
# undef _POSIX_PTHREAD_SEMANTICS
|
# undef _POSIX_PTHREAD_SEMANTICS
|
||||||
#endif
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_BFP_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_DFP_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
|
||||||
|
#ifndef __STDC_WANT_LIB_EXT2__
|
||||||
|
# undef __STDC_WANT_LIB_EXT2__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC 24747:2009. */
|
||||||
|
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
|
||||||
|
# undef __STDC_WANT_MATH_SPEC_FUNCS__
|
||||||
|
#endif
|
||||||
/* Enable extensions on HP NonStop. */
|
/* Enable extensions on HP NonStop. */
|
||||||
#ifndef _TANDEM_SOURCE
|
#ifndef _TANDEM_SOURCE
|
||||||
# undef _TANDEM_SOURCE
|
# undef _TANDEM_SOURCE
|
||||||
#endif
|
#endif
|
||||||
/* Enable general extensions on Solaris. */
|
/* Enable X/Open extensions. Define to 500 only if necessary
|
||||||
#ifndef __EXTENSIONS__
|
to make mbstate_t available. */
|
||||||
# undef __EXTENSIONS__
|
#ifndef _XOPEN_SOURCE
|
||||||
|
# undef _XOPEN_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -1780,22 +1849,12 @@
|
||||||
/* This must be defined on AIX systems to enable large file support. */
|
/* This must be defined on AIX systems to enable large file support. */
|
||||||
#undef _LARGE_FILES
|
#undef _LARGE_FILES
|
||||||
|
|
||||||
/* Define to 1 if on MINIX. */
|
|
||||||
#undef _MINIX
|
|
||||||
|
|
||||||
/* Define on NetBSD to activate all library features */
|
/* Define on NetBSD to activate all library features */
|
||||||
#undef _NETBSD_SOURCE
|
#undef _NETBSD_SOURCE
|
||||||
|
|
||||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
||||||
this defined. */
|
|
||||||
#undef _POSIX_1_SOURCE
|
|
||||||
|
|
||||||
/* Define to activate features from IEEE Stds 1003.1-2008 */
|
/* Define to activate features from IEEE Stds 1003.1-2008 */
|
||||||
#undef _POSIX_C_SOURCE
|
#undef _POSIX_C_SOURCE
|
||||||
|
|
||||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
||||||
#undef _POSIX_SOURCE
|
|
||||||
|
|
||||||
/* Define if you have POSIX threads, and your system does not define that. */
|
/* Define if you have POSIX threads, and your system does not define that. */
|
||||||
#undef _POSIX_THREADS
|
#undef _POSIX_THREADS
|
||||||
|
|
||||||
|
@ -1838,7 +1897,7 @@
|
||||||
/* Define to `long int' if <sys/types.h> does not define. */
|
/* Define to `long int' if <sys/types.h> does not define. */
|
||||||
#undef off_t
|
#undef off_t
|
||||||
|
|
||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define as a signed integer type capable of holding a process identifier. */
|
||||||
#undef pid_t
|
#undef pid_t
|
||||||
|
|
||||||
/* Define to empty if the keyword does not work. */
|
/* Define to empty if the keyword does not work. */
|
||||||
|
|
Loading…
Reference in New Issue