]> sourceware.org Git - valgrind.git/commitdiff
configure.ac: Fix portability of test(1) expression for C99 support
authorMichael Forney <mforney@mforney.org>
Tue, 6 Oct 2020 22:31:54 +0000 (15:31 -0700)
committerBart Van Assche <bvanassche@acm.org>
Fri, 14 May 2021 03:16:49 +0000 (20:16 -0700)
The == operator is non-standard, use = instead.

[ bvanassche: added "configure.ac: " prefix in front of patch subject ]

configure.ac

index b2f3dd91dbcb60d42fa292fb45df0b821eeb2069..4582fb5d094d3f3b31b0c077029d4f066e60047d 100755 (executable)
@@ -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
 
This page took 0.037484 seconds and 5 git commands to generate.