diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-16 14:23:21 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-16 14:23:21 +0000 |
commit | df57a9f221e22dde28167ffaca8a8d9174e5b104 (patch) | |
tree | f603024591d42fdd27e63db405bb16583acd2734 | |
parent | [w3m-dev 03958] w3mimgdisplay on jfbterm (diff) | |
download | w3m-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>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | acinclude.m4 | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2003-09-16 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03960] + * acinclude.m4 (AC_W3M_CHECK_VER): fix version check logic + 2003-08-30 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 03958] w3mimgdisplay on jfbterm @@ -8000,4 +8005,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.859 2003/08/29 15:06:52 ukai Exp $ +$Id: ChangeLog,v 1.860 2003/09/16 14:23:21 ukai Exp $ 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 |