I've noticed some rather frustrating results of using either AC_CHECK_LIB and AC_SEARCH_LIBS and I'm hoping that someone with a little more experience with this may be able to point me in the right direction...
The os project I'm working on currently uses AC_CHECK_LIB to check for the existence of the Boost Filesystem lib on the host machine. This doesn't seem to work at all on FreeBSD (it's not overly important at this point, but anyone know the specific cause of this?). After reading some docs, it seems that AC_SEARCH_LIBS is the recommended macro to use, so I switched to that. However, I noticed pretty quickly (well, when the linker fired up) that -lboost_filesystem wasn't being added to LIBS as reported in the docs.
Is this a known issue on FreeBSD (and is it only on BSD machines, or other Linux systems as well)?
The os project I'm working on currently uses AC_CHECK_LIB to check for the existence of the Boost Filesystem lib on the host machine. This doesn't seem to work at all on FreeBSD (it's not overly important at this point, but anyone know the specific cause of this?). After reading some docs, it seems that AC_SEARCH_LIBS is the recommended macro to use, so I switched to that. However, I noticed pretty quickly (well, when the linker fired up) that -lboost_filesystem wasn't being added to LIBS as reported in the docs.
Is this a known issue on FreeBSD (and is it only on BSD machines, or other Linux systems as well)?