summaryrefslogtreecommitdiff
path: root/net/tcpflow/patches/patch-configure
blob: 54b0d7cbfb497069685303b6d4af20d3a07f7678 (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
$NetBSD: patch-configure,v 1.1 2017/07/04 13:50:42 jperkin Exp $

Shell portability.

--- configure.orig	2015-09-23 12:34:56.000000000 +0000
+++ configure
@@ -5983,7 +5983,7 @@ then
 $as_echo "$as_me: g++ is really clang++" >&6;}
    using_clang=yes
 fi
-if test x$CXX == "xclang++" ; then
+if test x$CXX = "xclang++" ; then
    using_clang=yes
 fi
 
@@ -6000,7 +6000,7 @@ if test x"${mingw}" != "xyes" ; then
   C_WARNINGS_TO_TEST="$C_WARNINGS_TO_TEST -Wall -Wstrict-prototypes"
 fi
 
-if test $using_clang == "no" ; then
+if test $using_clang = "no" ; then
   # -Wstrict-null-sentinel is not supported under clang
   CXX_WARNINGS_TO_TEST="$CXX_WARNINGS_TO_TEST -Wstrict-null-sentinel"
 fi
@@ -6431,7 +6431,7 @@ $as_echo "#define __LINUX__ 1" >>confdef
      ;;
 esac
 
-if test x"${mingw}" == "xno" ; then
+if test x"${mingw}" = "xno" ; then
   # Bring additional directories where things might be found into our
   # search path. I don't know why autoconf doesn't do this by default
   for spfx in /usr/local /opt/local /sw /usr/local/ssl /usr/boost/include ; do
@@ -6453,7 +6453,7 @@ $as_echo "$as_me:  LDFLAGS = ${LDFLAGS} 
 fi
 
 if test -r /bin/uname.exe ; then
-  if test "`uname -o`" == "Msys" ; then
+  if test "`uname -o`" = "Msys" ; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with Msys. Setting flags appropriately." >&5
 $as_echo "$as_me: Compiling with Msys. Setting flags appropriately." >&6;}
     LIBS="$LIBS -lws2_32 -lgdi32"