Fixed the usage of test(1) together with "==".

This commit is contained in:
rillig 2006-10-02 23:52:51 +00:00
parent fc793e244f
commit 5b980e849e
2 changed files with 26 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.10 2005/12/06 13:14:06 joerg Exp $
$NetBSD: distinfo,v 1.11 2006/10/02 23:52:51 rillig Exp $
SHA1 (AfterStep-2.1.2.tar.bz2) = c367e7c73561ddf03b3725f80d2f39f50d2b45bd
RMD160 (AfterStep-2.1.2.tar.bz2) = f891ded642b9190bd261f3e3f92cb595da2d785b
Size (AfterStep-2.1.2.tar.bz2) = 5079333 bytes
SHA1 (patch-aa) = c903ca64b609e4270ead1f1e03cb6ea962b294f8
SHA1 (patch-ab) = b513b41f5be32170c3e7027d53e44625cbb4958a

View file

@ -0,0 +1,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