Commit b97c2d18 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Support --with-python=prog

2001-10-27  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Support --with-python=prog
parent 418db173
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* configure.in : Support --with-python=prog
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : don't have
......
......@@ -28,6 +28,7 @@ Jody:
* Improve recognition of values vs expressions
* Reset grid display cursor after editing an object.
* Resize frozen panes after ins/del col/row.
* Make python version configurable.
Jukka:
* Improved MPS plugin.
......
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* configure.in : Support --with-python=prog
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : don't have
......
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* configure.in : Support --with-python=prog
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : don't have
......
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* configure.in : Support --with-python=prog
2001-10-27 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : don't have
......
......@@ -268,12 +268,16 @@ AC_ARG_WITH(python,
[--{with,without}-python Compile the Python plugin loader],
if test x$withval = xno; then
try_python=false
elif test x$withval = xyes; then
python_prog=python
else
python_prog="${withval}"
fi
)
if $try_python; then
python_val=
AC_CHECK_PROG(python_val, python, true, false)
AC_CHECK_PROG(python_val, "$python_prog", true, false)
if $python_val; then
PY_PREFIX=`python -c 'import sys ; print sys.prefix'`
PY_EXEC_PREFIX=`python -c 'import sys ; print sys.exec_prefix'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment