Difference for ./acinclude.m4 from version 1.4 to 1.5


version 1.4 version 1.5
Line 7
 
Line 7
  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.3,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"
Line 21
 
Line 21
  if test "x$cf_have_python_h" = "xyes" ; then   if test "x$cf_have_python_h" = "xyes" ; then
  PYTHON_LIB=""   PYTHON_LIB=""
   
                 for lib in python{,2.2,2.1,2.0} ; do                  for lib in python{,2.3,2.2,2.1,2.0} ; do
                         AC_CHECK_LIB($lib, PyArg_ParseTuple,[PYTHON_LIB="-l$lib"])                          AC_CHECK_LIB($lib, PyArg_ParseTuple,[PYTHON_LIB="-l$lib"])
                         if test "x$PYTHON_LIB" != "x" ; then                          if test "x$PYTHON_LIB" != "x" ; then
                                 break                                  break


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:53