summaryrefslogtreecommitdiff
path: root/textproc/expat/patches/patch-configure
blob: a1eb5f0eba83baab20805de6529fccda1459703a (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
$NetBSD: patch-configure,v 1.2 2017/06/20 18:31:36 spz Exp $

--- configure.orig	2017-06-17 18:21:24.000000000 +0000
+++ configure
@@ -16341,7 +16341,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
   }
 
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
 
 
 $as_echo "#define HAVE_GETRANDOM 1" >>confdefs.h
@@ -16989,8 +16989,8 @@ fi
 
 if test "x${enable_xml_context}" != "xno"; then :
 
-  if test "x${enable_xml_context}" == "xyes" \
-      -o "x${enable_xml_context}" == "x"; then :
+  if test "x${enable_xml_context}" = "xyes" \
+      -o "x${enable_xml_context}" = "x"; then :
 
     enable_xml_context=1024