autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: "==" in test is not portable


From: Pavel Roskin
Subject: FYI: "==" in test is not portable
Date: Mon, 20 Nov 2000 11:47:40 -0500 (EST)

Index: ChangeLog
--- ChangeLog   Fri Nov 17 12:27:14 2000
+++ ChangeLog   Mon Nov 20 11:29:47 2000
@@ -1 +1,6 @@
+2000-11-19  Pavel Roskin  <address@hidden>
+
+       * acgeneral.m4 (_AC_RUN_IFELSE): `==' in test is not portable,
+       replace with `='.
+
 2000-11-17  Akim Demaille  <address@hidden>
Index: acgeneral.m4
--- acgeneral.m4        Fri Nov 17 12:27:14 2000
+++ acgeneral.m4        Mon Nov 20 11:27:28 2000
@@ -2892,7 +2892,7 @@
 AC_TRY_EVAL(ac_link) &&
   (./conftest$ac_exeext) >&AS_MESSAGE_LOG_FD 2>&1;
 ac_status=$?
-AS_IFELSE([test $ac_status == 0],
+AS_IFELSE([test $ac_status = 0],
           [$2],
 [echo "$as_me: program exited with status $ac_status" >&AS_MESSAGE_LOG_FD
 echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD




reply via email to

[Prev in Thread] Current Thread [Next in Thread]