no more complaining when I have 1.5 and it tests for 1.4.2
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2003 13:05:11 +0000 (13:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2003 13:05:11 +0000 (13:05 +0000)
buildconf

index a189cf5..f719d6d 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -97,8 +97,10 @@ if test "$1" = "$LIBTOOL_WANTED_MAJOR"; then
    if test "$2" -lt "$LIBTOOL_WANTED_MINOR"; then
       lt_status="bad"
    elif test ! -z "$LIBTOOL_WANTED_PATCH"; then
-       if test "$3" -lt "$LIBTOOL_WANTED_PATCH"; then
-           lt_status="bad"
+       if test -n "$3"; then
+          if test "$3" -lt "$LIBTOOL_WANTED_PATCH"; then
+             lt_status="bad"
+          fi
        fi
    fi
 fi