diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index b302083..d07eeb4 100644 --- a/configure.ac +++ b/configure.ac @@ -59,9 +59,7 @@ dnl FLEX_GNU_GETTEXT_REAL_REQUIRE_VERSION=0.14 AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6]) AM_GNU_GETTEXT_VERSION([0.19.6]) AC_PROG_YACC - # Extract the first word of "$YACC", so it can be a program name with args. - set dummy $YACC; ac_word=$2 - AC_MSG_CHECKING(whether $ac_word is GNU Bison) + AC_MSG_CHECKING(whether $YACC is GNU Bison) AS_IF([test -n "$YACC" && $YACC --version 2>&1 | $GREP "GNU Bison" >/dev/null], [AC_MSG_RESULT(yes) use_gnu_bison=1], @@ -135,9 +133,7 @@ AC_DEFINE_UNQUOTED([M4], ["$M4"], [Define to the m4 executable name.]) AC_PATH_PROG([INDENT], indent) AS_IF([test -n "$INDENT"], [ - # Extract the first word of "$INDENT", so it can be a program name with args. - set dummy $INDENT; ac_word=$2 - AC_MSG_CHECKING(whether $ac_word is GNU indent) + AC_MSG_CHECKING(whether $INDENT is GNU indent) AS_IF([$INDENT --version 2>/dev/null | $GREP "GNU indent" >/dev/null], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no) |