Fix XAPIAN_TEST_LINKER_FLAG macro
commit76bd717c8da9e6b5fdcb29191a1dbe5f31622f5e
authorOlly Betts <olly@survex.com>
Mon, 1 Feb 2016 05:00:31 +0000 (1 18:00 +1300)
committerOlly Betts <olly@survex.com>
Mon, 1 Feb 2016 05:00:31 +0000 (1 18:00 +1300)
treec4bfd476c1f55bd9cd36807f6e46b4330937f90a
parent79695216e11627e80de7a0a565d9615e6da9dc64
Fix XAPIAN_TEST_LINKER_FLAG macro

It now actually tests if it's possible to link with the option in
LDFLAGS - previously we attempted to guess based on whether the
error message from $CXX $flag contained the option name, which
doesn't actually work very well.
xapian-core/configure.ac