1 From cace630b0eb42418dea4f3d98c69d0d777bfc1be Mon Sep 17 00:00:00 2001
2 From: Xin Ouyang <Xin.Ouyang@windriver.com>
3 Date: Wed, 20 Jun 2012 16:34:19 +0800
4 Subject: [PATCH] audit: python cross-compile
6 Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
9 1 files changed, 2 insertions(+), 1 deletions(-)
11 diff --git a/configure.ac b/configure.ac
12 index 3db7d45..9a07db6 100644
15 @@ -90,7 +90,8 @@ if test x$use_python = xno ; then
17 AC_MSG_RESULT(testing)
19 -if test -f /usr/include/python${am_cv_python_version}/Python.h ; then
20 +PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
21 +if test -f $PY_PREFIX/include/python${am_cv_python_version}/Python.h ; then
23 AC_MSG_NOTICE(Python bindings will be built)