Fix PYTHON_INCLUDES
This commit is contained in:
parent
eea461fff5
commit
e1d239bca6
@ -70,11 +70,12 @@ AC_DEFUN([_AC_PYTHON_DEVEL],[
|
||||
python_found=no
|
||||
python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
|
||||
for i in "$python_path/include/python$PYTHON_VERSION/" "$python_path/include/python/" ; do
|
||||
if test -e "$python_path/Python.h"; then
|
||||
if test -e "$i/Python.h"; then
|
||||
python_found=yes
|
||||
AC_MSG_CHECKING([for python include path])
|
||||
AC_MSG_RESULT([$python_path])
|
||||
AC_SUBST([PYTHON_INCLUDES],[-I$python_path])
|
||||
AC_MSG_RESULT([$i])
|
||||
PYTHON_INCLUDES="-I$i"
|
||||
AC_SUBST([PYTHON_INCLUDES],[$PYTHON_INCLUDES])
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
@ -46,7 +46,7 @@
|
||||
</run>
|
||||
<configurations>
|
||||
<debug>
|
||||
<configargs>--enable-debug=full --enable-all-gcc-warnings=fatal --enable-developer-mode</configargs>
|
||||
<configargs>--enable-debug=full --enable-all-gcc-warnings=fatal --enable-developer-mode --disable-moo-module</configargs>
|
||||
<builddir>build/debug</builddir>
|
||||
<ccompiler>kdevgccoptions</ccompiler>
|
||||
<cxxcompiler>kdevgppoptions</cxxcompiler>
|
||||
|
Loading…
x
Reference in New Issue
Block a user