summaryrefslogtreecommitdiff
path: root/audio/libaudiofile/patches/patch-configure
blob: 9fcd6635a317aa30978c419f2c2c5bd53e5cac6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
$NetBSD: patch-configure,v 1.3 2011/11/30 20:52:46 wiz Exp $

Fix unportable test(1) construct.
Accepted by upstream, will be in next release.

--- configure.orig	2011-11-29 18:15:23.000000000 +0000
+++ configure
@@ -15246,7 +15246,7 @@ else
   enable_werror=no
 fi
 
- if test "$enable_werror" == "yes"; then
+ if test "$enable_werror" = "yes"; then
   ENABLE_WERROR_TRUE=
   ENABLE_WERROR_FALSE='#'
 else
@@ -15255,7 +15255,7 @@ else
 fi
 
 
-if test "$enable_werror" == "yes"; then :
+if test "$enable_werror" = "yes"; then :
   WERROR_CFLAGS="-Werror"
 
 fi
@@ -15267,7 +15267,7 @@ else
   enable_coverage=no
 fi
 
- if test "$enable_coverage" == "yes"; then
+ if test "$enable_coverage" = "yes"; then
   ENABLE_COVERAGE_TRUE=
   ENABLE_COVERAGE_FALSE='#'
 else
@@ -15276,7 +15276,7 @@ else
 fi
 
 
-if test "$enable_coverage" == "yes"; then :
+if test "$enable_coverage" = "yes"; then :
   COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
 	COVERAGE_LIBS="-lgcov"
 
@@ -15380,7 +15380,7 @@ else
   enable_valgrind=no
 fi
 
- if test "$enable_valgrind" == "yes"; then
+ if test "$enable_valgrind" = "yes"; then
   ENABLE_VALGRIND_TRUE=
   ENABLE_VALGRIND_FALSE='#'
 else
@@ -15389,7 +15389,7 @@ else
 fi
 
 
-if test "$enable_valgrind" == "yes"; then :
+if test "$enable_valgrind" = "yes"; then :
   # Extract the first word of "valgrind", so it can be a program name with args.
 set dummy valgrind; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5