From 86500486e77860b7418e0bf2d8fa312db2484037 Mon Sep 17 00:00:00 2001
From: Richard Nyberg <rnyberg@murmeldjur.se>
Date: Tue, 10 Feb 2009 16:39:29 +0100
Subject: [PATCH] test(1)'s equality operator is '=' not '=='.

'==' does work in some implementations though.
---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index c9692e2..238fecf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ AC_COMPILE_IFELSE([
     int main(void) { return clock_gettime(CLOCK_MONOTONIC, (void *)0); }
 ],  clock_gettime=yes, clock_gettime=no)
 AC_MSG_RESULT($clock_gettime)
-if test $clock_gettime == yes; then
+if test $clock_gettime = yes; then
     old_LIBS=$LIBS
     LIBS=""
     AC_SEARCH_LIBS(clock_gettime,rt,clock_gettime=yes,clock_gettime=no)
@@ -64,7 +64,7 @@ if test $clock_gettime == yes; then
     LIBS=$old_LIBS
     AC_DEFINE(HAVE_CLOCK_MONOTONIC)
 fi
-if test $clock_gettime == no; then
+if test $clock_gettime = no; then
     AC_CHECK_FUNCS(mach_absolute_time,,
         AC_MSG_FAILURE(no supported time mechanism found))
 fi
@@ -108,7 +108,7 @@ for m in $evloop_methods; do
         ;;
     esac
 done
-if test x"$EVLOOP_METHOD" == x; then
+if test x"$EVLOOP_METHOD" = x; then
     AC_MSG_FAILURE(no suitable evloop method found)
     exit 1
 else
@@ -117,7 +117,7 @@ fi
 
 for i in 0 1 2 3 4 5 6 7; do
     case $i in
-    0) if test x"$TD_CFLAGS$TD_LIBS" == x; then continue; fi;;
+    0) if test x"$TD_CFLAGS$TD_LIBS" = x; then continue; fi;;
     1) TD_CFLAGS=-pthread;;
     2) TD_CFLAGS=-pthreads;;
     3) TD_CFLAGS=-kthread;;