| 1 | *** /tmp/configure~ 2006-02-16 11:16:39.028064107 -0700 |
|---|
| 2 | --- /tmp/configure 2006-02-16 11:16:39.029063959 -0700 |
|---|
| 3 | *************** |
|---|
| 4 | *** 6000,6006 **** |
|---|
| 5 | |
|---|
| 6 | if test $cs_cv_python = yes; then |
|---|
| 7 | echo "$as_me:$LINENO: checking for python includes" >&5 |
|---|
| 8 | ! echo $ECHO_N "checking for python includes... $ECHO_C" >&6 |
|---|
| 9 | python_inc=no |
|---|
| 10 | python_search_path="/neo/opt /usr/local /usr /c" |
|---|
| 11 | python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15" |
|---|
| 12 | --- 6000,6006 ---- |
|---|
| 13 | |
|---|
| 14 | if test $cs_cv_python = yes; then |
|---|
| 15 | echo "$as_me:$LINENO: checking for python includes" >&5 |
|---|
| 16 | ! echo $ECHO_N "checking for python includes... $ECHO_C" >&6 |
|---|
| 17 | python_inc=no |
|---|
| 18 | python_search_path="/neo/opt /usr/local /usr /c" |
|---|
| 19 | python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15" |
|---|
| 20 | *************** |
|---|
| 21 | *** 6009,6016 **** |
|---|
| 22 | vers=`$python_bin -c "import sys; print sys.version[:3]"` |
|---|
| 23 | py_inst_dir=`$python_bin -c "import sys; print sys.exec_prefix"` |
|---|
| 24 | python_inc=$py_inst_dir/include/python$vers |
|---|
| 25 | ! python_lib="-L$py_inst_dir/lib/python$vers/config -lpython$vers" |
|---|
| 26 | ! python_site=$py_inst_dir/lib/python$vers/site-packages |
|---|
| 27 | else |
|---|
| 28 | for vers in $python_versions; do |
|---|
| 29 | for path in $python_search_path; do |
|---|
| 30 | --- 6009,6016 ---- |
|---|
| 31 | vers=`$python_bin -c "import sys; print sys.version[:3]"` |
|---|
| 32 | py_inst_dir=`$python_bin -c "import sys; print sys.exec_prefix"` |
|---|
| 33 | python_inc=$py_inst_dir/include/python$vers |
|---|
| 34 | ! python_lib="-L$py_inst_dir/lib64/python$vers/config -lpython$vers" |
|---|
| 35 | ! python_site=$py_inst_dir/lib64/python$vers/site-packages |
|---|
| 36 | else |
|---|
| 37 | for vers in $python_versions; do |
|---|
| 38 | for path in $python_search_path; do |
|---|
| 39 | *************** |
|---|
| 40 | *** 6019,6029 **** |
|---|
| 41 | fi |
|---|
| 42 | if test -f $path/include/python$vers/Python.h; then |
|---|
| 43 | python_inc=$path/include/python$vers |
|---|
| 44 | ! python_lib="-L$path/lib/python$vers/config -lpython$vers" |
|---|
| 45 | ! python_site=$path/lib/python$vers/site-packages |
|---|
| 46 | break 2 |
|---|
| 47 | fi |
|---|
| 48 | ! if test -f $path/python$vers/include/Python.h; then |
|---|
| 49 | python_inc=$path/python$vers/include |
|---|
| 50 | python_lib="-L$path/python$vers/libs -lpython$vers" |
|---|
| 51 | python_site=$path/python$vers/Lib/site-packages |
|---|
| 52 | --- 6019,6029 ---- |
|---|
| 53 | fi |
|---|
| 54 | if test -f $path/include/python$vers/Python.h; then |
|---|
| 55 | python_inc=$path/include/python$vers |
|---|
| 56 | ! python_lib="-L$path/lib64/python$vers/config -lpython$vers" |
|---|
| 57 | ! python_site=$path/lib64/python$vers/site-packages |
|---|
| 58 | break 2 |
|---|
| 59 | fi |
|---|
| 60 | ! if test -f $path/python$vers/include/Python.h; then |
|---|
| 61 | python_inc=$path/python$vers/include |
|---|
| 62 | python_lib="-L$path/python$vers/libs -lpython$vers" |
|---|
| 63 | python_site=$path/python$vers/Lib/site-packages |
|---|
| 64 | *************** |
|---|
| 65 | *** 6034,6051 **** |
|---|
| 66 | fi |
|---|
| 67 | if test "x$python_inc" = "xno"; then |
|---|
| 68 | echo "$as_me:$LINENO: result: not found" >&5 |
|---|
| 69 | ! echo "${ECHO_T}not found" >&6 |
|---|
| 70 | PYTHON= |
|---|
| 71 | PYTHON_INC= |
|---|
| 72 | PYTHON_LIB= |
|---|
| 73 | PYTHON_SITE= |
|---|
| 74 | else |
|---|
| 75 | echo "$as_me:$LINENO: result: found $python_inc" >&5 |
|---|
| 76 | ! echo "${ECHO_T}found $python_inc" >&6 |
|---|
| 77 | PYTHON=$python_bin |
|---|
| 78 | PYTHON_INC="-I$python_inc" |
|---|
| 79 | PYTHON_LIB=$python_lib |
|---|
| 80 | ! if test ! $?PYTHON_SITE; then |
|---|
| 81 | PYTHON_SITE=$python_site |
|---|
| 82 | fi |
|---|
| 83 | BUILD_WRAPPERS="$BUILD_WRAPPERS python" |
|---|
| 84 | --- 6034,6051 ---- |
|---|
| 85 | fi |
|---|
| 86 | if test "x$python_inc" = "xno"; then |
|---|
| 87 | echo "$as_me:$LINENO: result: not found" >&5 |
|---|
| 88 | ! echo "${ECHO_T}not found" >&6 |
|---|
| 89 | PYTHON= |
|---|
| 90 | PYTHON_INC= |
|---|
| 91 | PYTHON_LIB= |
|---|
| 92 | PYTHON_SITE= |
|---|
| 93 | else |
|---|
| 94 | echo "$as_me:$LINENO: result: found $python_inc" >&5 |
|---|
| 95 | ! echo "${ECHO_T}found $python_inc" >&6 |
|---|
| 96 | PYTHON=$python_bin |
|---|
| 97 | PYTHON_INC="-I$python_inc" |
|---|
| 98 | PYTHON_LIB=$python_lib |
|---|
| 99 | ! if test ! $PYTHON_SITE; then |
|---|
| 100 | PYTHON_SITE=$python_site |
|---|
| 101 | fi |
|---|
| 102 | BUILD_WRAPPERS="$BUILD_WRAPPERS python" |
|---|