From f1c2570502c40b9bf2f901afa7bb5355b9f43fa0 Mon Sep 17 00:00:00 2001 From: Simon Sobisch Date: Mon, 17 Sep 2018 13:02:09 +0200 Subject: removed output-beautification of YACC and INDENT per request from @Explorer09 saving one code line and its comment two times --- configure.ac | 8 ++------ 1 file 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) -- cgit v1.2.1