2007-06-22 Peter O'Gorman * libltdl/config/ltmain.m4sh (version-number) [irix]: Don't subtract 1 from major as it may be less than age. Index: libltdl/config/ltmain.m4sh =================================================================== RCS file: /sources/libtool/libtool/libltdl/config/ltmain.m4sh,v retrieving revision 1.80 diff -u -r1.80 ltmain.m4sh --- libltdl/config/ltmain.m4sh 19 Jun 2007 05:43:16 -0000 1.80 +++ libltdl/config/ltmain.m4sh 22 Jun 2007 05:29:38 -0000 @@ -5189,9 +5189,10 @@ age="0" ;; irix|nonstopux) - current=`expr $number_major + $number_minor - 1` + current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_minor" + lt_irix_increment=no ;; esac ;; @@ -5261,7 +5262,11 @@ ;; irix | nonstopux) - major=`expr $current - $age + 1` + if test "X$lt_irix_increment" = "Xno"; then + major=`expr $current - $age` + else + major=`expr $current - $age + 1` + fi case $version_type in nonstopux) verstring_prefix=nonstopux ;;