]> granicus.if.org Git - graphviz/commitdiff
sometimes php is known as php5
authorellson <devnull@localhost>
Sat, 11 Jun 2011 13:43:39 +0000 (13:43 +0000)
committerellson <devnull@localhost>
Sat, 11 Jun 2011 13:43:39 +0000 (13:43 +0000)
configure.ac

index e1f66c658171a34d45d3efc0f9b2667fbecf9379..14452c89bb8edc35f642ea4635da33a6f7b3aa45 100644 (file)
@@ -1063,7 +1063,7 @@ else
     if test `$SWIG -help 2>&1 | $GREP -c '\-php5* *- Generate'` = 0 ; then
       use_php="No (swig does not support -php or -php5 option)"
     else
-      AC_CHECK_PROG(PHP,php,php)
+      AC_CHECK_PROGS(PHP,php5 php)
       if test "x$PHP" = "x"; then
         use_php="No (php not available)"
       else