diff -urN libscigraphica-2.1.1.orig/configure libscigraphica-2.1.1/configure --- libscigraphica-2.1.1.orig/configure 2006-04-19 11:46:12.000000000 -0700 +++ libscigraphica-2.1.1/configure 2006-04-19 17:51:43.000000000 -0700 @@ -10337,9 +10337,9 @@ PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION" PY_LIBS="python$PY_VERSION" PY_LIB_LOC="$PY_EXEC_PREFIX/lib/python$PY_VERSION/" - array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h//` + array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h// | head -n 1` if test x$array_loc = x; then - array_loc=`find $PY_PREFIX/ -name arrayobject.h | sed s/arrayobject\.h//` + array_loc=`find $PY_PREFIX/ -name arrayobject.h | sed s/arrayobject\.h// | head -n 1` fi if test -n $array_loc -a -d $array_loc; then echo "$array_loc" diff -urN libscigraphica-2.1.1.orig/configure.in libscigraphica-2.1.1/configure.in --- libscigraphica-2.1.1.orig/configure.in 2006-04-19 11:46:12.000000000 -0700 +++ libscigraphica-2.1.1/configure.in 2006-04-19 17:51:27.000000000 -0700 @@ -324,9 +324,9 @@ PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION" PY_LIBS="python$PY_VERSION" PY_LIB_LOC="$PY_EXEC_PREFIX/lib/python$PY_VERSION/" - array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h//` + array_loc=`find $python_numeric_path -name arrayobject.h | sed s/arrayobject\.h// | head -n 1` if test x$array_loc = x; then - array_loc=`find $PY_PREFIX/ -name arrayobject.h | sed s/arrayobject\.h//` + array_loc=`find $PY_PREFIX/ -name arrayobject.h | sed s/arrayobject\.h// | head -n 1` fi if test -n $array_loc -a -d $array_loc; then echo "$array_loc"