1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-10 08:58:16 +03:00

changes the way the python binary is found, should also fix bug #308004

* configure.in: changes the way the python binary is found, should
  also fix bug #308004
Daniel
This commit is contained in:
Daniel Veillard 2005-08-24 22:19:10 +00:00
parent 53bd1f3c2c
commit 4f69eb6945
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Aug 25 00:18:20 CEST 2005 Daniel Veillard <daniel@veillard.com>
* configure.in: changes the way the python binary is found, should
also fix bug #308004
Wed Aug 24 16:44:41 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: found another bug while looking at #309616 on missing

View File

@ -613,7 +613,6 @@ dnl
dnl check for python
dnl
PYTHON=
PYTHON_VERSION=
PYTHON_INCLUDES=
PYTHON_SITE_PACKAGES=
@ -630,7 +629,12 @@ if test "$with_python" != "no" ; then
echo Found python in $with_python
PYTHON="$with_python"
else
AC_PATH_PROG(PYTHON, python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5)
if test -x "$PYTHON"
then
echo Found python in environment PYTHON=$PYTHON
else
AM_PATH_PYTHON()
fi
fi
fi
if test "$PYTHON" != ""
@ -671,6 +675,8 @@ if test "$with_python" != "no" ; then
else
pythondir='$(libdir)/python${PYTHON_VERSION}/site-packages'
fi
else
PYTHON=
fi
AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
if test "$PYTHON_INCLUDES" != ""