Autotools: Including a prebuilt 3rd party library?

The autotools are not a package management system, and attempting to put that type of functionality in is a bad idea. Rather than incorporating the third party library into your distribution, you should simply have the configure script check for its existence and abort if the required library is not available. The onus is on the user to satisfy the dependency.

You can then release a binary package that will allow the user to use the package management system to simplify dependency resolution.

I figured out how to make this happen. First I switched to a non recursive make. Next I made the following changes to configure.Am as per this page openismus.com/documents/linux/using_libr... AC_ARG_WITH(oci-include-path, AS_HELP_STRING(--with-oci-include-path, location of the oci headers, defaults to lib/oci), OCI_CFLAGS="-$withval", OCI_CFLAGS="-Ilib/oci") AC_SUBST(OCI_CFLAGS) AC_ARG_WITH(oci-lib-path, AS_HELP_STRING(--with-oci-lib-path, location of the oci libraries, defaults to lib/oci), OCI_LIBS="-L$withval -lclntsh -lnnz11", OCI_LIBS='-L.

/lib/oci -lclntsh -lnnz11') AC_SUBST(OCI_LIBS) In the Makefile. Am you then use the following lines (assuming a binary named foo) foo_CPPFLAGS = $(OCI_CFLAGS) foo_LDADD = libnavycommon.La $(OCI_LIBS) ocidir = $(libdir) oci_DATA = lib/oci/URL4.11.1 \ lib/oci/libnnz11. So \ lib/oci/URL5.11.1 \ lib/oci/libociicus.

So \ lib/oci/libocijdbc11.so.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions