diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2001-07-17 Dan Winship <danw@ximian.com> + + * configure.in: Fix up the "exactly version N" case of EVO_CHECK_LIB + 2001-07-16 Not Zed <NotZed@Ximian.com> * 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 |