Jean-Marc Lasgouttes <lasgout...@lyx.org> writes: > Le 13/09/2011 00:14, Raphael Kubo da Costa a écrit : >> I maintain the LyX port on FreeBSD, and was recently contacted by a user >> who was not able to built LyX with GCC 4.5 due to autoconf trying to use >> gcc instead of g++ to build the source code used to link to boost (LyX >> is built with --without-included-boost). >> >> The patch below should fix the problem: AC_CHECK_LIB uses a C compiler, >> so we need to manually set the language to C++ and call AC_LINK_IFELSE. > > I found the same code at > http://nerdland.net/2009/07/detecting-c-libraries-with-autotools/ > along with a comment from our own Georg Baum. Georg, could you comment > on this version? I think the _mt handling is yours too...
Hi, any chance of having this integrated? Do you guys need me to change anything in the patch?