]> granicus.if.org Git - graphviz/commitdiff
working on php ...
authorellson <devnull@localhost>
Mon, 28 Mar 2005 02:59:08 +0000 (02:59 +0000)
committerellson <devnull@localhost>
Mon, 28 Mar 2005 02:59:08 +0000 (02:59 +0000)
configure.ac
tclpkg/gv/Makefile.am

index e5c4942b90b16d9b10737d7ff21d198f0301bff3..84f378c2cde1bb305094649d812f6b34e022f55b 100644 (file)
@@ -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
index c6dd76cf49430670135ded320390e2fa59d38354..00e68caa363ba424f63dbdd094d8f2d5a7fc5078 100644 (file)
@@ -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; \