This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: removes need for CONFIG_SITE external configuration
Type: enhancement Stage:
Components: Build, Cross-Build Versions: Python 3.4
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, cavallo71, doko
Priority: normal Keywords: patch

Created on 2013-04-23 00:22 by cavallo71, last changed 2022-04-11 14:57 by admin.

Files
File name Uploaded Description Edit
configure.ac.patch cavallo71, 2013-04-23 00:22 review
Messages (3)
msg187599 - (view) Author: Antonio Cavallo (cavallo71) Date: 2013-04-23 00:22
This patch introduces two new options (--enable-ptmx, --enable-ptc) to  
the configure script.

In cross compile the actual code requires an external config.site config file to
set the result values for the AC_CHECK_FILE macros on /dev/ptmx, /dev/ptc.

These flags forces (if given) the result of the AC_CHECK_FILE macros: if the flags aren't given then the AC_CHECK_FILE tests are run as normal providing an error message when in cross compile mode (explicit behavior).


(patch applied on revision 251c5b4bb05d)
msg188283 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2013-05-02 22:20
An external config.site is not the only option, you can pass these values in the environment or on the configure command line too.

These would not be the only two options, there are more where features of the running kernel are tested, or where a test uses AC_TRY_RUN. Adding a configure option for each of these doesn't sound like the right thing to do, there I feel a config.site file is more appropriate.
msg188361 - (view) Author: Antonio Cavallo (cavallo71) Date: 2013-05-04 14:00
So far it seems the special handling in config.site is restricted to these two bits ptc/ptmx (I'm targeting android in cross compiling at the moment).
History
Date User Action Args
2022-04-11 14:57:44adminsetgithub: 62019
2013-05-04 14:00:06cavallo71setmessages: + msg188361
2013-05-02 22:20:52dokosetmessages: + msg188283
2013-04-30 18:04:56cavallo71setnosy: + doko, benjamin.peterson
2013-04-23 00:22:35cavallo71create