This is a confusing question.
I'm going to assume that you have successfully built the program and linked it.
If that isn't the case, please elaborate (but, in general, libraries are installed in standard locations and the paths to search for libraries can be specified or expanded on the compiler/linker command line, with environment variables, or makefile directives).
Otherwise, I think your question really is about determining whether the required library exists on a target installation platform.
If that is the case, the easiest way is to copy and edit an existing aclocal segment that verifies a library's existence in a configuration script.
|