summaryrefslogtreecommitdiff
path: root/www/squid3/patches/patch-configure
blob: 860165946503fa7b302f79706104b26bdcff46af (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.5 2015/01/22 11:38:58 obache Exp $

* int64_t GNU atomic operations are used, check them instead.
* Portability fix.

--- configure.orig	2015-01-13 12:54:26.000000000 +0000
+++ configure
@@ -20128,8 +20128,14 @@ $as_echo "cross-compiler cant tell" >&6;
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
-    int n = 0;
+$ac_includes_default
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+    int64_t n = 0;
 
 int
 main ()
@@ -32600,7 +32606,7 @@ done
 ## Please see the COPYING and CONTRIBUTORS files for details.
 ##
 
-if test "x$with_krb5" == "xyes"; then
+if test "x$with_krb5" = "xyes"; then
   BUILD_HELPER="kerberos"
 fi
 
@@ -33141,7 +33147,7 @@ done
 ## Please see the COPYING and CONTRIBUTORS files for details.
 ##
 
-if test "x$with_krb5" == "xyes"; then
+if test "x$with_krb5" = "xyes"; then
   BUILD_HELPER="kerberos_ldap_group"
 
   squid_cv_check_sasl="auto"