[sr #110532] AC_CHECK_LIB no longer works with a C++ compiler

2021-08-26 Thread Vincent Lefèvre
Follow-up Comment #2, sr #110532 (project autoconf): MPFR is written in C, and it is generally compiled with a C compiler, so that we expect the compiler to be given by $CC. This means that we need AC_LANG(C), not AC_LANG(C++). But we also allow C++ compilers (some compilers seem to support only

[sr #110532] AC_CHECK_LIB no longer works with a C++ compiler

2021-08-26 Thread Zack Weinberg
Follow-up Comment #1, sr #110532 (project autoconf): This (and the matching set of changes to AC_LANG_CALL(C++)) is in fact the main thing I was thinking of when I wrote in the 2.70 release notes that "setting CC to a C++ compiler is no longer supported." That said, I'm not rejecting your patch

[sr #110530] Missing #include in AC_FUNC_MEMCMP

2021-08-26 Thread Zack Weinberg
Follow-up Comment #2, sr #110530 (project autoconf): 1. We currently don't support *any* use of -Werror or -Werror=whatever in configure scripts. There are lots and lots of places where autoconf's test programs trigger warnings, especially with newer compilers. We *want* to fix all of those