Le 2024-06-09 à 17 h 34, Fons Adriaensen a écrit :
On Sun, Jun 09, 2024 at 11:55:41AM -0400, Marc
Lavallée wrote:
For the specific error you reported, the required
macro is
ax_cxx_compile_stdcxx.m4.
Thanks for the clear info.
Requiring C++11 seems like nothing really esoteric, so why
doesn't a standard autotools installation have this macro ?
The other required macro is ax_check_compile_flag.m4
Except the macros are not required... Here's how to avoid them:
Add this line at beginning of Makefile.am :
AM_CXXFLAGS = -std=c++11 -Wall
In configure.ac, delete sections titled:
# need c++11 mode
# use -Wall
The software can then be configured without autoconf-archive.
And if it isn't standard, shouldn't it be
provided in the m4
dir of the project (there are some others there) ?
The m4 directory is generated by autoconf.
Marc
Ciao,