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 --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure.in') 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