freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] IRIX and ltmain.sh


From: Nick Blievers
Subject: [Devel] IRIX and ltmain.sh
Date: Mon, 7 Jan 2002 14:38:51 +1100

Hi,
        I was wondering if anyone could explain the following block of shell 
script
to me. As far as I can tell, it produces the wrong results! When I build
freetype on Linux I get a .so.6, when I build on IRIX I get .so.7:

ltmain.sh:
        irix)
          major=`expr $current - $age + 1`
          verstring="sgi$major.$revision"

          # Add in all the interfaces that we are compatible with.
          loop=$revision
          while test $loop != 0; do
            iface=`expr $revision - $loop`
            loop=`expr $loop - 1`
            verstring="sgi$major.$iface:$verstring"
          done

          # Before this point, $major must not contain `.'.
          major=.$major
          versuffix="$major.$revision"
          ;;

        linux)
          major=.`expr $current - $age`
          versuffix="$major.$age.$revision"
          ;;

If someone can confirm that there is no good reason for this, I can make a
patch (simply remove that '+1'!).

Thanks

Nick



-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP 6.5.8

mQGiBDwXM1cRBADbdzC5df8taN45VATE+3c1PrYzI8B35Mk5rB96STDQLgoBgj8u
WUq0IRbzy0lJv+xt76FQMs6R/GfjvJmxUqYUpgaEYETbBC4yB+TqErBCLol7slsz
EvGSCngKaWJcxRco3XnhwHP7OLYS0+2dRdzGMpfYTqaho9paOzzM2e32tQCg/54e
iCr6ts06Mo0M/ZMW+1YuXs0D/1822xETUUIaSfGIjDY9OaPIpqyyI1PXPdBlcNdB
LDBEJO0Fs0BwxyNjcuuFtxSe+GXjoNUPU7r/1gz7C9QMV/uCX4XNNNVBs+crIn3T
VPQVBEKWlczyCHIFCzsrlB2Uk0aAeVawOK0AZyt/kaJU/GQf2f6kaonLAzVgTtxe
e5W4BADVYTh1BaDGaw/zPlxFNPUKkSXrJC+34rhtEzr21Wzwg1/ll6nZ0FzmQTdf
YzM/g/thvMDtKiAJrdJYBZl9/cmXqUqtA+Hy627OrwMZRbQYVflePfi5L3+uwZxJ
lmm8XlvrKySruqP5tlvgVnFhtX2RVKXupuiXeDoHQEozGH8AS7QnTmljayBCbGll
dmVycyA8bmlja2JAbWVsYm91cm5lLnNnaS5jb20+iQBOBBARAgAOBQI8FzNXBAsD
AQICGQEACgkQHU7fVJjvSgjUbACglydLVjrQ+Ng4T0aTPS7ZXdohV/AAoOnTfQHp
GUrgo/lDnsVRpoBuQLc7uQENBDwXM6EQBADcve3WG2sEst6k8mz9iB5GdiY0l/r9
YPSDQH5QqeykfkGGbOPW7vJ42+loHLtGi8nV2kgaBILUoKQc69t/6WGhLhtyBl9b
V3IRm2ACWVDwv/MULj7fkKgqzY2EsV7JPDZF7VpoddGa4/B8+xm0wgcITnOthe0p
dHboU/GskQsuZQACAgQAzZRxXj+LoOVlvvW4qZPjyRDNKbZbr4EwK0rlMV0LiXo/
Y4L5luqnY5URIgPT6WEh0kl2mpTpub4j88p1Gm3jhUKRnv/b1p4qks6/hWYkmhNn
5SWhNMyhXxxmmvlLfurGg/JTDoxiycONKyJa9LQEGviqp5LvFHMowjRdBT6FiYaJ
AEYEGBECAAYFAjwXM6EACgkQHU7fVJjvSgiZuwCeMZV5oynG9p58IR/GZ8o7XnJ6
LcQAoJb0WHqGDWL6D1Wygpsv8BMLbN8e
=JadT
-----END PGP PUBLIC KEY BLOCK-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]