|
Line 0
Link Here
|
|
|
1 |
--- ./configure.ac.orig 2009-02-09 22:04:53.000000000 +0100 |
| 2 |
+++ ./configure.ac 2009-02-17 15:00:30.648730460 +0100 |
| 3 |
@@ -56,7 +56,7 @@ |
| 4 |
int main(void) { return clock_gettime(CLOCK_MONOTONIC, (void *)0); } |
| 5 |
], clock_gettime=yes, clock_gettime=no) |
| 6 |
AC_MSG_RESULT($clock_gettime) |
| 7 |
-if test $clock_gettime == yes; then |
| 8 |
+if test $clock_gettime = yes; then |
| 9 |
old_LIBS=$LIBS |
| 10 |
LIBS="" |
| 11 |
AC_SEARCH_LIBS(clock_gettime,rt,clock_gettime=yes,clock_gettime=no) |
| 12 |
@@ -64,7 +64,7 @@ |
| 13 |
LIBS=$old_LIBS |
| 14 |
AC_DEFINE(HAVE_CLOCK_MONOTONIC) |
| 15 |
fi |
| 16 |
-if test $clock_gettime == no; then |
| 17 |
+if test $clock_gettime = no; then |
| 18 |
AC_CHECK_FUNCS(mach_absolute_time,, |
| 19 |
AC_MSG_FAILURE(no supported time mechanism found)) |
| 20 |
fi |
| 21 |
@@ -108,7 +108,7 @@ |
| 22 |
;; |
| 23 |
esac |
| 24 |
done |
| 25 |
-if test x"$EVLOOP_METHOD" == x; then |
| 26 |
+if test x"$EVLOOP_METHOD" = x; then |
| 27 |
AC_MSG_FAILURE(no suitable evloop method found) |
| 28 |
exit 1 |
| 29 |
else |
| 30 |
@@ -117,7 +117,7 @@ |
| 31 |
|
| 32 |
for i in 0 1 2 3 4 5 6 7; do |
| 33 |
case $i in |
| 34 |
- 0) if test x"$TD_CFLAGS$TD_LIBS" == x; then continue; fi;; |
| 35 |
+ 0) if test x"$TD_CFLAGS$TD_LIBS" = x; then continue; fi;; |
| 36 |
1) TD_CFLAGS=-pthread;; |
| 37 |
2) TD_CFLAGS=-pthreads;; |
| 38 |
3) TD_CFLAGS=-kthread;; |