forked from pool/graphviz
12 lines
425 B
Diff
12 lines
425 B
Diff
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -628,7 +628,7 @@
|
|
AC_ARG_ENABLE(php,
|
|
[AC_HELP_STRING([--disable-php], [don't support php language bindings])])
|
|
if test "x$enable_php" != "xno"; then
|
|
-if test `$SWIG -help 2>&1 | $GREP -c '\-php *- Generate'` = 0; then
|
|
+if test `$SWIG -help 2>&1 | $GREP -c '\-php[[5 ]]*- Generate'` = 0; then
|
|
PHP=
|
|
AC_MSG_WARN([swig does not support php. The PHP packages will not be built])
|
|
else
|