summaryrefslogtreecommitdiff
path: root/devel/valgrind/patches/patch-configure
blob: dc76e01e8f5e4ee833974f6d781c676628814f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-configure,v 1.3 2020/10/08 03:30:58 mcf Exp $

Use portable test(1) syntax to check for C99 support.

--- configure.orig	Tue Oct  6 21:36:12 2020
+++ configure
@@ -5714,7 +5714,7 @@ if test "x$ac_cv_prog_cc_c99" != xno; then :
 fi
 
 
-if test "$ac_cv_prog_cc_c99" == "no"; then
+if test "$ac_cv_prog_cc_c99" = "no"; then
     as_fn_error $? "Valgrind relies on a C compiler supporting C99" "$LINENO" 5
 fi