| 39 | Next I changed the {{{runtime/m4/llnl_confirm_babel_python.m4}}} file as follows: |
| 40 | {{{ |
| 41 | *** llnl_confirm_babel_python_support.m4 2008-10-21 12:05:31.000000000 -0500 |
| 42 | --- /home/norris/babel-1.4.0/runtime/m4/llnl_confirm_babel_python_support.m4 2009-02-24 22:38:39.246831463 -0600 |
| 43 | *************** |
| 44 | *** 38,47 **** |
| 45 | --- 38,49 ---- |
| 46 | fi |
| 47 | |
| 48 | if test "X$enable_python" != "Xno"; then |
| 49 | + if test "X$cross_compiling" != "Xyes"; then |
| 50 | LLNL_PYTHON_LIBRARY |
| 51 | LLNL_PYTHON_NUMERIC |
| 52 | LLNL_PYTHON_SHARED_LIBRARY |
| 53 | LLNL_PYTHON_AIX |
| 54 | + fi |
| 55 | if test \( "X$llnl_cv_python_numerical" != "Xyes" -a "X$llnl_cv_python_numpy" != "Xyes" \) -o "X$enable_shared" = "Xno" -o "X$XML2_CONFIG" = "Xno"; then |
| 56 | enable_python=no; |
| 57 | AC_MSG_WARN([Configuration for Python failed. Support for Python disabled!]) |
| 58 | }}} |
| 59 | |