summaryrefslogtreecommitdiff
path: root/wm/afterstep/patches/patch-ab
blob: ee9a0169ea146d6808ca3b3373758b2dba1fb83d (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-ab,v 1.3 2006/10/02 23:52:51 rillig Exp $

POSIX test(1) does not have a "==" operator.

--- configure.orig	2006-10-03 01:46:57.000000000 +0200
+++ configure	2006-10-03 01:47:58.000000000 +0200
@@ -1802,7 +1802,7 @@ fi;
 # Check whether --enable-reuse-font or --disable-reuse-font was given.
 if test "${enable_reuse_font+set}" = set; then
   enableval="$enable_reuse_font"
-  if test x$enableval == "xyes"; then
+  if test x$enableval = "xyes"; then
 cat >>confdefs.h <<\_ACEOF
 #define MODULE_REUSE_LOADED_FONT 1
 _ACEOF
@@ -5844,7 +5844,7 @@ fi
 
 have_shmimage=no
 
-if test "x$CYGWIN" == "xyes"; then
+if test "x$CYGWIN" = "xyes"; then
 	enable_shmimage=no
 fi