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: mingw: preset configure defaults
Type: enhancement Stage: resolved
Components: Build, Cross-Build Versions: Python 3.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder: MinGW is unsupported - close all open issues and list them here.
View: 45538
Assigned To: Nosy List: martin.panter, rpetrov
Priority: normal Keywords: patch

Created on 2013-03-31 19:46 by rpetrov, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
0005-MINGW-preset-configure-defaults.patch rpetrov, 2013-03-31 19:46 review
Messages (3)
msg185653 - (view) Author: Roumen Petrov (rpetrov) * Date: 2013-03-31 19:46
split of issue3871, but implement ed differently - externalize some configure defaults instead to update configure script for each check
msg221296 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-22 19:36
Can someone comment on this please as I know nothing about the build system or mingw.
msg271434 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-07-27 06:16
Interesting approach. Why two separate files, for cross-compiling and native compiling? Why not merge them together?

Some of the other Min GW patches add stuff like the following to the configure.ac checks. Would it make more sense to add e.g. ac_cv_struct_addrinfo=yes to the config, and avoid the compile check?

 AC_CACHE_VAL(ac_cv_struct_addrinfo,
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]], [[struct addrinfo a]])],
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#ifdef HAVE_WS2TCPIP_H
+#  include <ws2tcpip.h>
+#else
+#  include <netdb.h>
+#endif]],
+    [[struct addrinfo a]])],
   [ac_cv_struct_addrinfo=yes],
   [ac_cv_struct_addrinfo=no]))
History
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61794
2021-10-21 10:00:13iritkatrielsetresolution: duplicate -> wont fix
2021-10-20 12:46:47iritkatrielsetstatus: open -> closed
superseder: MinGW is unsupported - close all open issues and list them here.
resolution: duplicate
stage: patch review -> resolved
2016-07-27 07:33:32BreamoreBoysetnosy: - BreamoreBoy
2016-07-27 06:18:28martin.panterlinkissue18500 dependencies
2016-07-27 06:16:44martin.pantersetstage: patch review
2016-07-27 06:16:32martin.pantersetnosy: + martin.panter
messages: + msg271434
2014-06-22 19:36:07BreamoreBoysetnosy: + BreamoreBoy
messages: + msg221296
2013-03-31 19:46:49rpetrovcreate