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/
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to