summaryrefslogtreecommitdiff
path: root/textproc/source-highlight/patches/patch-aa
blob: 5a14f480b7f7bb1d629d55b64178adc4b7399a83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.4 2007/03/07 18:52:18 joerg Exp $

--- configure.orig	2006-10-05 16:57:31.000000000 +0000
+++ configure
@@ -3437,7 +3437,7 @@ cat <<EOF >conftest.c
 int conftest(void){return 0;}
 EOF
 ${CXX} -xar -o conftest.a conftest.c >/dev/null 2>&1
-if test $? == 0; then
+if test $? = 0; then
   ar_to_use="\$(CXX) -xar -o"
 else
   ar_to_use="\$(AR) cru"
@@ -6216,7 +6216,8 @@ ac_res=`eval echo '${'$as_ac_Lib'}'`
 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 echo "${ECHO_T}$ac_res" >&6; }
 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
-  BOOST_REGEX_LIB=$ax_lib break
+  BOOST_REGEX_LIB=$ax_lib
+  break
 fi
 
   done