*** /tmp/configure~	2006-02-16 11:16:39.028064107 -0700
--- /tmp/configure	2006-02-16 11:16:39.029063959 -0700
***************
*** 6000,6006 ****
  
  if test $cs_cv_python = yes; then
    echo "$as_me:$LINENO: checking for python includes" >&5
! echo $ECHO_N "checking for python includes... $ECHO_C" >&6
    python_inc=no
    python_search_path="/neo/opt /usr/local /usr /c"
    python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15"
--- 6000,6006 ----
  
  if test $cs_cv_python = yes; then
    echo "$as_me:$LINENO: checking for python includes" >&5
!   echo $ECHO_N "checking for python includes... $ECHO_C" >&6
    python_inc=no
    python_search_path="/neo/opt /usr/local /usr /c"
    python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15"
***************
*** 6009,6016 ****
      vers=`$python_bin -c "import sys; print sys.version[:3]"`
      py_inst_dir=`$python_bin -c "import sys; print sys.exec_prefix"`
      python_inc=$py_inst_dir/include/python$vers
!     python_lib="-L$py_inst_dir/lib/python$vers/config -lpython$vers"
!     python_site=$py_inst_dir/lib/python$vers/site-packages
    else
      for vers in $python_versions; do
        for path in $python_search_path; do
--- 6009,6016 ----
      vers=`$python_bin -c "import sys; print sys.version[:3]"`
      py_inst_dir=`$python_bin -c "import sys; print sys.exec_prefix"`
      python_inc=$py_inst_dir/include/python$vers
!     python_lib="-L$py_inst_dir/lib64/python$vers/config -lpython$vers"
!     python_site=$py_inst_dir/lib64/python$vers/site-packages
    else
      for vers in $python_versions; do
        for path in $python_search_path; do
***************
*** 6019,6029 ****
  	fi
  	if test -f $path/include/python$vers/Python.h; then
  	  python_inc=$path/include/python$vers
! 	  python_lib="-L$path/lib/python$vers/config -lpython$vers"
! 	  python_site=$path/lib/python$vers/site-packages
  	  break 2
  	fi
! 			if test -f $path/python$vers/include/Python.h; then
  	  python_inc=$path/python$vers/include
  	  python_lib="-L$path/python$vers/libs -lpython$vers"
  	  python_site=$path/python$vers/Lib/site-packages
--- 6019,6029 ----
  	fi
  	if test -f $path/include/python$vers/Python.h; then
  	  python_inc=$path/include/python$vers
! 	  python_lib="-L$path/lib64/python$vers/config -lpython$vers"
! 	  python_site=$path/lib64/python$vers/site-packages
  	  break 2
  	fi
! 	if test -f $path/python$vers/include/Python.h; then
  	  python_inc=$path/python$vers/include
  	  python_lib="-L$path/python$vers/libs -lpython$vers"
  	  python_site=$path/python$vers/Lib/site-packages
***************
*** 6034,6051 ****
    fi
    if test "x$python_inc" = "xno"; then
      echo "$as_me:$LINENO: result: not found" >&5
! echo "${ECHO_T}not found" >&6
      PYTHON=
      PYTHON_INC=
      PYTHON_LIB=
      PYTHON_SITE=
    else
      echo "$as_me:$LINENO: result: found $python_inc" >&5
! echo "${ECHO_T}found $python_inc" >&6
      PYTHON=$python_bin
      PYTHON_INC="-I$python_inc"
      PYTHON_LIB=$python_lib
!     if test ! $?PYTHON_SITE; then
  	PYTHON_SITE=$python_site
      fi
      BUILD_WRAPPERS="$BUILD_WRAPPERS python"
--- 6034,6051 ----
    fi
    if test "x$python_inc" = "xno"; then
      echo "$as_me:$LINENO: result: not found" >&5
!     echo "${ECHO_T}not found" >&6
      PYTHON=
      PYTHON_INC=
      PYTHON_LIB=
      PYTHON_SITE=
    else
      echo "$as_me:$LINENO: result: found $python_inc" >&5
!     echo "${ECHO_T}found $python_inc" >&6
      PYTHON=$python_bin
      PYTHON_INC="-I$python_inc"
      PYTHON_LIB=$python_lib
!     if test ! $PYTHON_SITE; then
  	PYTHON_SITE=$python_site
      fi
      BUILD_WRAPPERS="$BUILD_WRAPPERS python"

