Paul Eggert wrote: >>From: Chris Albertson <[EMAIL PROTECTED]>
I thought that the recommended thing was to ./configure LDFLAGS="-L<somedir>" ? (That's what configure --help says.) This way, the -L will get substituted into the Makefile, instead of depending upon the environment (and it is also fairly portable among compilers).1) Where does AC_CHECK_LIB look when it checks for libraries? 2) How can I get it to look in a few more places?Unfortunately this is currently a system-dependent thing. What I tend to do is to set the LD_LIBRARY_PATH and LD_RUN_PATH environment variables before invoking "configure", but this is admittedly unsatisfactory.
(Of course, if the libraries are shared, you still have to tell the runtime linker the path if you want to run the program after compiling it, and that may require a system-dependent environment variable.)
Steven
