summaryrefslogtreecommitdiff
path: root/dev-games/wfmath/files/wfmath-1.0.2-fix-bashisms.patch
blob: d9a6edcfbd95e4b52f2de0d0bc5ab862a782227e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/configure.ac
+++ b/configure.ac
@@ -81,11 +81,11 @@ PKG_CHECK_MODULES(ATLAS_0_6, atlascpp-0.6 >= 0.6.0,
 	dnl those should already be using Atlas explicitly.
 	], found_atlas_0_6=no)
 
-AM_CONDITIONAL(HAVE_ATLAS_0_6, test $found_atlas_0_6 == yes)
+AM_CONDITIONAL(HAVE_ATLAS_0_6, test $found_atlas_0_6 = xyes)
 
 AC_CHECK_HEADERS(sstream strstream, [ found_string_stream=yes break ],
 				    [ found_string_stream=no ])
-if test $found_string_stream == no ; then
+if test $found_string_stream = xno ; then
     AC_MSG_ERROR(Couldn't find C++ string <-> stream conversion method.)
 fi