2007-06-22 Peter O'Gorman * ltmain.in (version-number) [irix]: Don't subtract 1 from major as it may be less than age. Index: ltmain.in =================================================================== RCS file: /sources/libtool/libtool/Attic/ltmain.in,v retrieving revision 1.334.2.141 diff -u -r1.334.2.141 ltmain.in --- ltmain.in 28 May 2007 07:03:51 -0000 1.334.2.141 +++ ltmain.in 22 Jun 2007 05:29:22 -0000 @@ -3239,9 +3239,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 ;; @@ -3315,8 +3316,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 ;; *) verstring_prefix=sgi ;;