- Fix typo
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@290 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
8d90b660c4
commit
18916e3f43
|
@ -70,7 +70,7 @@ dnl make
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
|
|
||||||
dnl check for python and SWIG
|
dnl check for python and SWIG
|
||||||
AC_PYTHON_DEVEL([>= 2.4])
|
AC_PYTHON_DEVEL([>= '2.4'])
|
||||||
AC_PROG_SWIG
|
AC_PROG_SWIG
|
||||||
SWIG_ENABLE_CXX
|
SWIG_ENABLE_CXX
|
||||||
SWIG_PYTHON
|
SWIG_PYTHON
|
||||||
|
|
|
@ -7,9 +7,10 @@ dnl Also exports $(PYTHON_EXTRA_LIBS) and $(PYTHON_EXTRA_LDFLAGS)
|
||||||
dnl for embedding Python in your code.
|
dnl for embedding Python in your code.
|
||||||
dnl
|
dnl
|
||||||
dnl You can search for some particular version of Python by passing a
|
dnl You can search for some particular version of Python by passing a
|
||||||
dnl parameter to this macro, for example '>= 2.3.1', or '== 2.4'.
|
dnl parameter to this macro, for example ">= '2.3.1'", or "== '2.4'".
|
||||||
dnl Please note that you *have* to pass also an operator along
|
dnl Please note that you *have* to pass also an operator along
|
||||||
dnl with the version number.
|
dnl with the version match, and pay special attention to the
|
||||||
|
dnl single quotes surrounding the version number.
|
||||||
dnl
|
dnl
|
||||||
dnl If the user wants to employ a particular version of Python, she can
|
dnl If the user wants to employ a particular version of Python, she can
|
||||||
dnl now pass to configure the PYTHON_VERSION environment variable.
|
dnl now pass to configure the PYTHON_VERSION environment variable.
|
||||||
|
@ -46,7 +47,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
|
||||||
#
|
#
|
||||||
# Check for a version of Python >= 2.1.0
|
# Check for a version of Python >= 2.1.0
|
||||||
#
|
#
|
||||||
AC_MSG_CHECKING([for a version of Python >= 2.1.0])
|
AC_MSG_CHECKING([for a version of Python >= '2.1.0'])
|
||||||
ac_supports_python_ver=`$PYTHON -c "import sys, string; \
|
ac_supports_python_ver=`$PYTHON -c "import sys, string; \
|
||||||
ver = string.split(sys.version)[[0]]; \
|
ver = string.split(sys.version)[[0]]; \
|
||||||
print ver >= '2.1.0'"`
|
print ver >= '2.1.0'"`
|
||||||
|
|
Loading…
Reference in New Issue