From 0e68a67b84f6a3a203c579e70eb153f88be0eccd Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 17 Jul 2001 20:23:34 +0000 Subject: Fix up the "exactly version N" case of EVO_CHECK_LIB * configure.in: Fix up the "exactly version N" case of EVO_CHECK_LIB svn path=/trunk/; revision=11169 --- ChangeLog | 4 ++++ configure.in | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f766413c30..432a0d805c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-07-17 Dan Winship + + * configure.in: Fix up the "exactly version N" case of EVO_CHECK_LIB + 2001-07-16 Not Zed * configure.in: Changed to use test -h instead of -L for checking diff --git a/configure.in b/configure.in index ec503f28b7..02fc6555fb 100644 --- a/configure.in +++ b/configure.in @@ -32,8 +32,12 @@ AC_DEFUN(EVO_CHECK_LIB, [ ok=yes if test "$pkgvers" -lt $cmpminvers; then ok=no - elif test -n "$maxvers" -a "$pkgvers" -ge $cmpmaxvers; then - ok=no + elif test -n "$maxvers"; then + if test "$pkgvers" -gt $cmpmaxvers; then + ok=no + elif test "$maxvers" != "$minvers" -a "$cmpmaxvers" -eq "$pkgvers"; then + ok=no + fi fi if test $ok = no; then case $maxvers in -- cgit v1.2.3