projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
649197d
)
python: Fixed configure script for python3.
author
Sven Trenkel
<collectd@semidefinite.de>
Tue, 5 Jan 2010 18:02:07 +0000
(19:02 +0100)
committer
Sven Trenkel
<collectd@semidefinite.de>
Tue, 5 Jan 2010 18:11:39 +0000
(19:11 +0100)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
8d0744a
..
bb7b535
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2739,7
+2739,7
@@
fi
if test "x$with_python" = "xyes"
then
AC_MSG_CHECKING([for Python CPPFLAGS])
if test "x$with_python" = "xyes"
then
AC_MSG_CHECKING([for Python CPPFLAGS])
- python_include_path=`echo "import distutils.sysconfig;
print distutils.sysconfig.get_python_inc(
)" | "$with_python_prog" 2>&1`
+ python_include_path=`echo "import distutils.sysconfig;
import sys;sys.stdout.write(distutils.sysconfig.get_python_inc()
)" | "$with_python_prog" 2>&1`
python_config_status=$?
if test "$python_config_status" -ne 0 || test "x$python_include_path" = "x"
python_config_status=$?
if test "$python_config_status" -ne 0 || test "x$python_include_path" = "x"
@@
-2762,7
+2762,7
@@
fi
if test "x$with_python" = "xyes"
then
AC_MSG_CHECKING([for Python LDFLAGS])
if test "x$with_python" = "xyes"
then
AC_MSG_CHECKING([for Python LDFLAGS])
- python_library_path=`echo "import distutils.sysconfig;
print distutils.sysconfig.get_config_vars(\"LIBDIR\").__getitem__(0
)" | "$with_python_prog" 2>&1`
+ python_library_path=`echo "import distutils.sysconfig;
import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"LIBDIR\").__getitem__(0)
)" | "$with_python_prog" 2>&1`
python_config_status=$?
if test "$python_config_status" -ne 0 || test "x$python_library_path" = "x"
python_config_status=$?
if test "$python_config_status" -ne 0 || test "x$python_library_path" = "x"
@@
-2777,7
+2777,7
@@
fi
if test "x$with_python" = "xyes"
then
AC_MSG_CHECKING([for Python LIBS])
if test "x$with_python" = "xyes"
then
AC_MSG_CHECKING([for Python LIBS])
- python_library_flags=`echo "import distutils.sysconfig;
print distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0
)" | "$with_python_prog" 2>&1`
+ python_library_flags=`echo "import distutils.sysconfig;
import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0)
)" | "$with_python_prog" 2>&1`
python_config_status=$?
if test "$python_config_status" -ne 0 || test "x$python_library_flags" = "x"
python_config_status=$?
if test "$python_config_status" -ne 0 || test "x$python_library_flags" = "x"