Issue 14327: replace use of uname in the configury with macros set by AC_CANONICAL_HOST (original) (raw)

Issue14327

Created on 2012-03-15 20:14 by doko, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
no-uname-for-cross.diff doko,2012-03-15 21:17 no-uname-for-cross.diff review
Messages (6)
msg155950 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-03-15 20:14
the configury uses uname, which fails for cross builds. this issue tracks patches tor replace the uname calls with the use of macros set by AC_CANONICAL_HOST (host*, build*)
msg155952 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-03-15 20:18
call AC_CANONICAL_HOST and check in config.{guess,sub}, taken from git://git.savannah.gnu.org/config.git --- a/configure.ac Thu Mar 15 20:42:23 2012 +0100 +++ b/configure.ac Thu Mar 15 21:17:32 2012 +0100 @@ -33,6 +33,8 @@ AC_CONFIG_SRCDIR([Include/object.h]) AC_CONFIG_HEADER(pyconfig.h) +AC_CANONICAL_HOST + dnl Ensure that if prefix is specified, it does not end in a slash. If dnl it does, we get path names containing '//' which is both ugly and dnl can cause trouble.
msg155954 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-15 20:30
New changeset 04aa26c572ba by Matthias Klose in branch 'default': - Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in http://hg.python.org/cpython/rev/04aa26c572ba
msg155957 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-03-15 21:17
the following patch still keeps the uname calls for native builds, but sets the ac_sys_* macros depending on $host for cross builds. For now the cross configure fails for everything except linux and cygwin targets.
msg155958 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-15 21:19
New changeset d0cce5a2c0cf by Matthias Klose in branch 'default': - Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in http://hg.python.org/cpython/rev/d0cce5a2c0cf
msg164323 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-06-29 11:13
that was checked in
History
Date User Action Args
2022-04-11 14:57:28 admin set github: 58535
2012-06-29 11:13:00 doko set status: open -> closedmessages: +
2012-03-15 22:20:23 Arfrever set nosy: + Arfrever
2012-03-15 21:19:37 python-dev set messages: +
2012-03-15 21:17:00 doko set files: + no-uname-for-cross.diffkeywords: + patchmessages: +
2012-03-15 20:30:37 python-dev set nosy: + python-devmessages: +
2012-03-15 20🔞36 doko set messages: +
2012-03-15 20:14:32 doko create