]> granicus.if.org Git - graphviz/commitdiff
apparently autogen.sh strips out '[]' from configure.ac - use '[[]]'
authorellson <devnull@localhost>
Thu, 7 Dec 2006 22:13:34 +0000 (22:13 +0000)
committerellson <devnull@localhost>
Thu, 7 Dec 2006 22:13:34 +0000 (22:13 +0000)
configure.ac

index 9d20ea6397ff620fa82018690471161bfde099f2..293f9ed9ad8e33f08e2fbe5bc18a8b6e25aff416 100644 (file)
@@ -628,7 +628,7 @@ if test "x$SWIG" != "x"; then
 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