Merge pull request #1668 from ndim/test-string-equality-operator-typo-fix

The test(1) string comparison uses =, not ==
This commit is contained in:
Stefan Rueger
2024-02-07 23:42:07 +13:00
committed by GitHub

View File

@@ -68,7 +68,7 @@ AC_PROG_AR
AH_TEMPLATE([HAVE_YYLEX_DESTROY],
[Define if lex/flex has yylex_destroy])
# flex should have this
if test "x$LEX" == xflex; then
if test "x$LEX" = xflex; then
AC_MSG_CHECKING([whether yylex_destroy is generated by flex])
flex_version=`$LEX -V -v --version 2>/dev/null | $SED -e 's/^.* //'`
case $flex_version in