Re: question regarding AC_CHECK_LIB

2005-01-03 Thread Sander Niemeijer
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

Re: question regarding AC_CHECK_LIB

2004-12-28 Thread Noah Misch
> 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) # ---

Re: question regarding AC_CHECK_LIB

2004-12-24 Thread Gary V. Vaughan
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