Hello Carson, thanks for the report.
* Carson Gaspar wrote on Tue, Dec 30, 2008 at 02:24:54PM CET: > Both AC_CHECK_LIB and AC_SEARCH_LIBS put "-lmylib" before > OTHER-LIBRARIES. In practice, this causes configure to try things like: > > cc foo.c -lmylib -L/path/to/mypkg/lib ... > > On Solaris (and other systems) this is fatal, as it is required to > specify -L before any -l args that live in the path specified by -L. But adding -L paths needed for -lmylib is not the purpose of the OTHER-LIBRARIES argument of these macros. That is what $LDFLAGS is for. Please use that instead. OTHER-LIBRARIES is strictly for library dependencies of mylib. Cheers, Ralf
