From a97e71a3214590f210e026f569ca5181e2782124 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 7 Feb 2024 01:37:51 +0100 Subject: [PATCH] The test(1) string comparison uses =, not == The test(1) command string comparison operator is a single equals sign, not a double equals sign. Pointed out by @mcuee at https://github.com/avrdudes/avrdude/pull/1663?#issuecomment-1931024192 --- src/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configure.ac b/src/configure.ac index 9f4f0cb11..60c79c463 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -51,7 +51,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