From: ellson Date: Mon, 28 Mar 2005 02:59:08 +0000 (+0000) Subject: working on php ... X-Git-Tag: LAST_LIBGRAPH~32^2~7780 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14903c71ae9c3a1cea1d1806be08af0dbee74a5d;p=graphviz working on php ... --- diff --git a/configure.ac b/configure.ac index e5c4942b9..84f378c2c 100644 --- a/configure.ac +++ b/configure.ac @@ -354,7 +354,7 @@ dnl INCLUDES and LIBS for PYTHON AC_CHECK_PROG(PYTHON,python,python) HAVE_PYTHON=1 if test "x$PYTHON" != "x"; then - PYTHON_VERSION=`python -V 2>&1 | grep Version | cut -d ' ' -f 3` + PYTHON_VERSION=`python -V 2>&1 | cut -d ' ' -f 2` PYTHON_VERSION_MAJOR=`echo $PYTHON_VERSION | cut -d '.' -f 1` PYTHON_VERSION_MINOR=`echo $PYTHON_VERSION | cut -d '.' -f 2` if test $PYTHON_VERSION_MAJOR -lt 3; then diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am index c6dd76cf4..00e68caa3 100644 --- a/tclpkg/gv/Makefile.am +++ b/tclpkg/gv/Makefile.am @@ -179,8 +179,7 @@ test_php: libgv_php.la (cd php; \ ln -fs ../.libs/libgv_php.so libgv.so; \ cp -f ../*.php .; \ - $(PHP) *.php; \ - php test) + ./test.php) test_python: libgv_python.la (cd python; \