Add libdir test in logical blocks since that variable is used within the blocks.
Add libdir test in logical blocks since that variable is used within the
blocks.

Put in pkgconfig debug messages but comment them out.

svn path=/trunk/; revision=7211

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