summaryrefslogtreecommitdiff
path: root/security/libb2/patches/patch-configure
blob: d9d6649da05396b5d9322997ccce14e993e57d3c (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
$NetBSD: patch-configure,v 1.1 2019/06/22 18:54:04 bsiegert Exp $

Remove non-portable test usage, https://github.com/BLAKE2/libb2/pull/29

--- configure.orig	2019-03-10 15:36:30.000000000 +0000
+++ configure
@@ -12759,7 +12759,7 @@ else
   :
 fi
 
-if test $enable_native == "yes"; then
+if test $enable_native = "yes"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -march=native" >&5
 $as_echo_n "checking whether C compiler accepts -march=native... " >&6; }
 if ${ax_cv_check_cflags___march_native+:} false; then :
@@ -12797,7 +12797,7 @@ fi
 
 fi
 
-if test $enable_fat == "yes"; then
+if test $enable_fat = "yes"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5
 $as_echo_n "checking whether C compiler accepts -msse2... " >&6; }
 if ${ax_cv_check_cflags___msse2+:} false; then :
@@ -12973,7 +12973,7 @@ else
   as_fn_error $? "Compiler does not know -mxop." "$LINENO" 5
 fi
 
-elif test $enable_native == "yes"; then
+elif test $enable_native = "yes"; then
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'