summaryrefslogtreecommitdiff
path: root/security/gnome-online-accounts/patches/patch-configure
blob: f88c93f7418d2b978ad825cf41527c9ed7f8b600 (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 2020/06/10 19:48:26 nia Exp $

Shell portability.

--- configure.orig	2020-03-10 13:08:11.000000000 +0000
+++ configure
@@ -16991,14 +16991,14 @@ fi
 
 
 if test "$enable_fedora" != "no"; then
-  if test "$enable_fedora" == "yes" &&
-     test "$have_fedora" == "no" ; then
+  if test "$enable_fedora" = "yes" &&
+     test "$have_fedora" = "no" ; then
       as_fn_error $? "Fedora Account System support requested, but not available" "$LINENO" 5
   fi
 
   enable_fedora=$have_fedora
 
-  if test "$enable_fedora" == "yes"; then
+  if test "$enable_fedora" = "yes"; then
 
 $as_echo "#define GCR_API_SUBJECT_TO_CHANGE 1" >>confdefs.h
 
@@ -17389,14 +17389,14 @@ fi
 
 
 if test "$enable_kerberos" != "no"; then
-  if test "$enable_kerberos" == "yes" &&
-     test "$have_kerberos" == "no" ; then
+  if test "$enable_kerberos" = "yes" &&
+     test "$have_kerberos" = "no" ; then
       as_fn_error $? "kerberos support requested, but not available" "$LINENO" 5
   fi
 
   enable_kerberos=$have_kerberos
 
-  if test "$enable_kerberos" == "yes"; then
+  if test "$enable_kerberos" = "yes"; then
 
 $as_echo "#define GCR_API_SUBJECT_TO_CHANGE 1" >>confdefs.h