[issue16347] configure.ac patch

Antonio Cavallo report at bugs.python.org
Fri Nov 2 19:02:10 CET 2012


Antonio Cavallo added the comment:

Hi,
the patch it is really simple, it adds the @LIB@ and @ARCH@ variables to the configure machinery. 

If you look into the Makefile.pre.in:

INCLUDEDIR=¬@includedir@
CONFINCLUDEDIR=¬$(exec_prefix)/include
SCRIPTDIR=¬…$(prefix)/lib


This hardcodes lib that can be right on debian derivatives but on many other distributions it would be lib64 (fedora and opensuse notable ones).

In theory SCRIPTDIR could be se to @libdir@ but...

Samples of that hardcoded path (lib) are spread all over the source code and there're specific patches for these.
 
This patch should make easier later on to fix these, in fact the patch should be totally safe (at least that would be my aim) with no impact.

I hope this helps,
thanks

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16347>
_______________________________________


More information about the Python-bugs-list mailing list