tests: Avoid verbose output for 'make check V=0'
[openafs.git] / src / cf / flex.m4
1 # OPENAFS_LEX_IS_FLEX([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE])
2 AC_DEFUN([OPENAFS_LEX_IS_FLEX],
3 [AC_MSG_CHECKING([if lex is flex])
4  AS_IF([echo '' | $LEX --version >&AS_MESSAGE_LOG_FD 2>&1],
5     [AC_MSG_RESULT([yes])
6      $1],
7     [AC_MSG_RESULT([no])
8      $2])])