Fix a problem with ax_python.m4 (don't use `locate` command).

This commit is contained in:
cg25 2008-12-15 15:29:27 +00:00
parent ba1de6ea99
commit 9a5fbd4ca2
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ ax_python_bin=$PYTHON_BIN
if test x$ax_python_bin != x; then
AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
AC_CHECK_HEADER([$ax_python_bin/Python.h],
[[ax_python_header=`locate $ax_python_bin/Python.h | sed -e s,/Python.h,,`]],
ax_python_header=/usr/include/$ax_python_bin,
ax_python_header=no)
if test $ax_python_lib != no; then
if test $ax_python_header != no; then