From: Michael Forney Date: Tue, 6 Oct 2020 22:31:54 +0000 (-0700) Subject: configure.ac: Fix portability of test(1) expression for C99 support X-Git-Tag: VALGRIND_3_18_0~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7634ed3e4ddb8b6165e9814f0d3813ad2ee98af;p=thirdparty%2Fvalgrind.git configure.ac: Fix portability of test(1) expression for C99 support The == operator is non-standard, use = instead. [ bvanassche: added "configure.ac: " prefix in front of patch subject ] --- diff --git a/configure.ac b/configure.ac index b2f3dd91db..4582fb5d09 100755 --- a/configure.ac +++ b/configure.ac @@ -115,7 +115,7 @@ rm $tmpfile # Make sure we can compile in C99 mode. AC_PROG_CC_C99 -if test "$ac_cv_prog_cc_c99" == "no"; then +if test "$ac_cv_prog_cc_c99" = "no"; then AC_MSG_ERROR([Valgrind relies on a C compiler supporting C99]) fi