From: ellson Date: Tue, 17 Feb 2009 16:14:58 +0000 (+0000) Subject: fix for php breakage cause by swig update in rawhide X-Git-Tag: LAST_LIBGRAPH~32^2~2498 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d7bb1bdcb830ec1f3accb2a678eaadd6771a689;p=graphviz fix for php breakage cause by swig update in rawhide --- diff --git a/configure.ac b/configure.ac index 7536d9ba3..db4ee1202 100644 --- a/configure.ac +++ b/configure.ac @@ -1010,8 +1010,8 @@ else if test "x$use_swig" != "xYes"; then use_php="No (swig not available)" else - if test `$SWIG -help 2>&1 | $GREP -c '\-php5 *- Generate'` = 0; then - use_php="No (swig does not support -php5 option)" + if test `$SWIG -help 2>&1 | $GREP -c '\-php *- Generate'` = 0 && `$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) if test "x$PHP" = "x"; then