[New-bugs-announce] [issue16347] configure.ac patch
Antonio Cavallo
report at bugs.python.org
Sun Oct 28 11:52:33 CET 2012
New submission from Antonio Cavallo:
I've noticed that linux distros have a set of patch to fix a hardcoded lib in their makefiles:
eg. Makefile.pre.in:
....
INCLUDEDIR=¬@includedir@
CONFINCLUDEDIR=¬$(exec_prefix)/include
SCRIPTDIR=¬…$(prefix)/lib <== HARDCODED
This is due to the fact on the 64 bit they split lib and lib64 directories.
I understand that removing such hardcoded values will be a very long task (multiple places where lib is hardcoded).
To make it into incremental steps I think a good idea would be to introduce two simple modification into the configure.ac script: they are transparent (eg. won't affect in anyway the current code) but will provide the base infrastructure to build upon.
Please find patch attached (mercurial ref 3fb84c1da8c5 / 79960)
I'm using a build infrastructure for testing the whole patch set (I've applied them in full in the past) at https://build.opensuse.org/project/packages?project=home%3Acavallo71%3Aopt-python-interpreters.
This tracks 2.7 but the patches should be easily ported in 3.x as well.
I hope this helps,
Antonio
PS. Would be possible to remove "tabs" from cofigure.ac?
----------
components: Build, Cross-Build
files: autoconfigure.dif
messages: 174028
nosy: cavallo71, doko, georg.brandl, larry, skrah, trent
priority: normal
severity: normal
status: open
title: configure.ac patch
versions: Python 2.7
Added file: http://bugs.python.org/file27762/autoconfigure.dif
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16347>
_______________________________________
More information about the New-bugs-announce
mailing list