Is autoconfigure the only way to find this out.?? On Wed, Jul 15, 2009 at 6:52 AM, Pei Lin <[email protected]> wrote:
> i think u should refer to the autoconfigure and check how they do > these things, all the open source package use configuration file to > check the library dependence. > > 2009/7/15 Rishi Agrawal <[email protected]>: > > Hello All, > > > > I want to check whether a particular library is installed or not using a > > shell command. > > > > I want to write a install script which will first check whether the > > libraries required to compile my code are available on the system or not. > > > > something like #check_library libxml2 (on shell) > > or > > retval = check_library("libxml2"); will do. > > > > -- > > Regards, > > Rishi B. Agrawal > > http://www.linkedin.com/in/rishibagrawal > > http://code.google.com/p/fscops/ > > > -- Regards, Rishi B. Agrawal http://www.linkedin.com/in/rishibagrawal http://code.google.com/p/fscops/
