On 26.02.2015 09:47, Stefan Sperling wrote: > On Wed, Feb 25, 2015 at 11:39:22PM -0000, phi...@apache.org wrote: >> Author: philip >> Date: Wed Feb 25 23:39:22 2015 >> New Revision: 1662329 >> >> URL: http://svn.apache.org/r1662329 >> Log: >> * configure.ac: Don't add -lstdc++ on FreeBSD 10 as it is not needed and >> adding it causes linking to fail. > Is there something else we can check for rather than OS and its version? > That's a very brittle kind of check to do. > > For example, if this is related to clang the check should involve clang.
We could add a test for this in compiler.m4 and get the flag into CXXFLAGS. Alternatively, we could just stop supporting broken 1.x libtool. -- Brane