applied a small patch from Troels Walsted Hansen for python libxml2

* configure.in: applied a small patch from Troels Walsted Hansen
  for python libxml2 detection.
Daniel
This commit is contained in:
Daniel Veillard 2003-10-15 15:31:56 +00:00
parent 1133731a3e
commit 395f702571
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Oct 15 17:30:43 CEST 2003 Daniel Veillard <daniel@veillard.com>
* configure.in: applied a small patch from Troels Walsted Hansen
for python libxml2 detection.
Sat Sep 27 18:42:57 PDT 2003 William Brack <wbrack@mmm.com.hk>
* libxslt/numbers.c, libxslt/extensions.c, libexslt/date.c,

View File

@ -171,7 +171,7 @@ if test "$with_python" != "no" ; then
then
PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"`
echo Found Python version $PYTHON_VERSION
LIBXML2_PYTHON=`python -c "try : import libxml2 ; print 1
LIBXML2_PYTHON=`$PYTHON -c "try : import libxml2 ; print 1
except: print 0"`
if test "$LIBXML2_PYTHON" = "1"
then