Message389463
The problem
-----------
In the repository, the definition for ``AX_CHECK_COMPILE_FLAG`` in Python's ``configure.ac`` file is missing. If ``autoreconf`` is run, an invalid ``configure`` script is generated. The following is the behaviour of running ``autoreconf`` followed by ``configure``:
```
# In cpython repository top-level directory
$ autoreconf
$ mkdir build
$ cd build
$ ../configure # <- using newly generated configure script
[... omitted ...]
checking for --enable-optimizations... no
../configure: line 6498: syntax error near unexpected token `-fno-semantic-interposition,'
../configure: line 6498: ` AX_CHECK_COMPILE_FLAG(-fno-semantic-interposition,'
```
The solution
------------
It appears a file was missing in the m4/ directory. The file matches this one from the Autoconf Archive:
https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
Simply adding the correct m4 file to m4/ should make ``autoreconf`` work. |
|
Date |
User |
Action |
Args |
2021-03-24 14:52:18 | congma | set | recipients:
+ congma |
2021-03-24 14:52:18 | congma | set | messageid: <1616597538.33.0.0386305243834.issue43617@roundup.psfhosted.org> |
2021-03-24 14:52:18 | congma | link | issue43617 messages |
2021-03-24 14:52:18 | congma | create | |
|