Fwd: Documentation of AX_CXX_COMPILE_STDCXX_11 on Autoconf macro archives

Robert Hairgrove <[email protected]> Tue, 24 Jan 2017 03:34:38 -0500
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
Forwarded from the Autoconf group... thanks for looking into this!

-------- Original Message --------
Subject: Documentation of AX_CXX_COMPILE_STDCXX_11 on Autoconf macro 
archives
Date: 2017-01-22 07:39
 From: Robert Hairgrove <[email protected]>
To: [email protected]

This is more of a documentation bug. In the introduction on this page, 
it is mentioned that one must also install the macro 
AX_CXX_COMPILE_STDCXX in order to use it:

https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html

What is NOT mentioned is that it is also necessary to install 
AX_REQUIRE_DEFINED if you don't already have it. I didn't have it, and 
as a result got errors in configure about a "possibly undefined macro 
AC_MSG_WARN". Fortunately, it was easy to spot by looking at the line 
number in configure which appeared in the error message. But it would 
have saved me some time if it had been mentioned in the same page.

I am using version 2.69 of autoconf.