2.Morever by default AC_CHECK_LIB looks for dynamic libraries.How do
I
specify that I should look for a static library.
AC_CHECK_LIB looks for both static and dynamic libraries. If you wish
to find
only static libraries, you could determine the compiler flag(s) that
do what
`-static' does for g
> krishna wrote:
> >1.How do i specify the additional paths which AC_CHECK_LIB should check?
This is the typical idiom:
save_LDFLAGS="$LDFLAGS"
LDFLAGS="-L/dir $LDFLAGS"
AC_CHECK_LIB(...)
LDFLAGS="$save_LDFLAGS"
You could wrap it in a macro:
# AC_VAR_EXCURSION(VAR, VALUE, EXPRESSION)
# ---
krishna wrote:
Hi Gary
Hi krishna,
I am currently trying to autoconfiscate a project. I found Autobook very
helpful but I still have certain queries.
---Check for a static library
---In a predetermined non standard location (ie. it does not exist
in /usr/lib or /usr/local/lib)
I am tryi