Simplified shell code to find libraries while extending it to handle version number tacked on the end, e.g. libtcl7.4.a.
Simplified shell code to find libraries while extending it to handle
version number tacked on the end, e.g. libtcl7.4.a.

svn path=/trunk/; revision=1848

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot