version 1.3 | | version 1.4 |
---|
| | |
dir="" | | dir="" |
AC_CHECK_HEADERS([Python.h],[cf_have_python_h=yes]) | | AC_CHECK_HEADERS([Python.h],[cf_have_python_h=yes]) |
if test "x$cf_have_python_h" = "x" ; then | | if test "x$cf_have_python_h" = "x" ; then |
for dir in /usr{,local}/include/python{,2.2,2.1,2.0} ; do | | for dir in /usr{,/local}/include/python{,2.2,2.1,2.0} ; do |
AC_CHECK_HEADERS(["$dir/Python.h"],[cf_have_python_h=yes]) | | AC_CHECK_HEADERS(["$dir/Python.h"],[cf_have_python_h=yes]) |
if test "x$cf_have_python_h" != "x" ; then | | if test "x$cf_have_python_h" != "x" ; then |
PY_INCLUDES="-I$dir" | | PY_INCLUDES="-I$dir" |