summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2013-07-04 17:33:11 +0200
committerinfirit <[email protected]>2013-12-17 17:52:35 +0100
commit62b77b85f882b23ddee7feb9e65cc73f78e36815 (patch)
tree39f269ab858dcf121f45aac525fc69113ddf49f7
parent2be25e755ade2bf5e71cb140be6a8ded7a8f6f95 (diff)
downloadpluma-62b77b85f882b23ddee7feb9e65cc73f78e36815.tar.bz2
pluma-62b77b85f882b23ddee7feb9e65cc73f78e36815.tar.xz
fix_hardcoded_python_sitelibs_in_configure.ac
to avoid those warnings. DEBUG: checking for python version... 2.7 DEBUG: checking for python platform... linux2 DEBUG: checking for python script directory... ${prefix}/lib/python2.7/site-packages DEBUG: checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages DEBUG: checking for headers required to compile python extensions... found DEBUG: sed: can't read /usr/lib/python2.7/config/Makefile: No such file or directory DEBUG: sed: can't read /usr/lib/python2.7/config/Makefile: No such file or directory
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e9cecfad..36243162 100644
--- a/configure.ac
+++ b/configure.ac
@@ -370,9 +370,9 @@ if test "x$have_python" != "xno"; then
PYTHON_EXTRA_LIBS=
else
PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
- PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config"
+ PYTHON_LIB_LOC="-L$libdir/python$PYTHON_VERSION/config"
PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION"
- PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config/Makefile"
+ PYTHON_MAKEFILE="$libdir/python$PYTHON_VERSION/config/Makefile"
PYTHON_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
PYTHON_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
PYTHON_EXTRA_LIBS="$PYTHON_BASEMODLIBS $PYTHON_OTHER_LIBS"