[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992981: autoconf: AC_CHECK_LIB no longer works with g++



Control: tags -1 upstream

On 2021-08-25 23:56:45 +0200, Vincent Lefevre wrote:
> I've found the cause. With Autoconf 2.69, there was
> 
> #ifdef __cplusplus
> extern "C"
> #endif
> 
> at the beginning of the test program generated by Autoconf.
> This is no longer the case with Autoconf 2.71. A manual test
> confirms that these 3 lines make the difference.

It seems that upstream commit 326c9a547423d25c621bc5c0ef76edbf6eda8c92
is the cause. I'm going to test with the 3 lines re-added and provide
a patch if this works.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: