aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-16 14:23:21 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-16 14:23:21 +0000
commitdf57a9f221e22dde28167ffaca8a8d9174e5b104 (patch)
treef603024591d42fdd27e63db405bb16583acd2734 /acinclude.m4
parent[w3m-dev 03958] w3mimgdisplay on jfbterm (diff)
downloadw3m-df57a9f221e22dde28167ffaca8a8d9174e5b104.tar.gz
w3m-df57a9f221e22dde28167ffaca8a8d9174e5b104.zip
[w3m-dev 03960]
* acinclude.m4 (AC_W3M_CHECK_VER): fix version check logic From: Hiroyuki Ito <hito@crl.go.jp>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 5e2e873..ee70e85 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -467,7 +467,7 @@ AC_DEFUN([AC_W3M_CHECK_VER],
AC_MSG_CHECKING($1 version)
AC_MSG_RESULT($version)
set -- `echo "$version" | sed 's/[[^0-9]]/ /g'`
- if test "$[1]" -ne "$3" -o "$[2]" -lt "$4" -o "$[3]" -lt "$5"; then
+ if test "$[1]" -ne "$3" -o "$[2]" -lt "$4" || test "$[2]" -eq "$4" -a "$[3]" -lt "$5"; then
AC_MSG_WARN([$1 is too old. Install $1 (version >= $3.$4.$5)])
$7
else