]> granicus.if.org Git - graphviz/commitdiff
fix syntax in configure.ac
authorJohn Ellson <ellson@research.att.com>
Wed, 19 Feb 2014 16:41:46 +0000 (11:41 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 19 Feb 2014 16:41:46 +0000 (11:41 -0500)
configure.ac

index 0576c9ba6310409d7fb56daea122e65a3bed8896..6360250787b554f7ae0bad33180a1a0be7d02e7e 100644 (file)
@@ -1093,7 +1093,7 @@ else
   if test "x$use_swig" != "xYes"; then
     use_php="No (swig not available)"
   else
-    if test `$SWIG -php5 2>&1 | $EGREP -c 'Unable` = 1; then
+    if test `$SWIG -php5 2>&1 | $EGREP -c 'Unables'` -eq 1; then
       SWIG_PHP_OPT='-php'
     else
       SWIG_PHP_OPT='-php5'