diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-05-12 13:05:11 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-05-12 13:05:11 +0000 |
commit | 2e2e0fba608760de2eea7f998de0f7733c9ddb73 (patch) | |
tree | 9df59d589f7d07afa6307568fdd3531a6ba317a6 /buildconf | |
parent | 4a5139e3f408294b1610802fbda0e2bb82eb8c6c (diff) |
no more complaining when I have 1.5 and it tests for 1.4.2
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |