summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Sobisch <simonsobisch@web.de>2018-09-17 13:02:09 +0200
committerWill Estes <westes@users.noreply.github.com>2023-03-01 20:52:25 -0500
commitf1c2570502c40b9bf2f901afa7bb5355b9f43fa0 (patch)
tree12b8c4c4c2ac4c986303810e73b7a083da72d29c
parentbf591762208198aac58fee8dff690ec3fd486e2b (diff)
downloadflex-git-f1c2570502c40b9bf2f901afa7bb5355b9f43fa0.tar.gz
removed output-beautification of YACC and INDENT
per request from @Explorer09 saving one code line and its comment two times
-rw-r--r--configure.ac8
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)