ax_lua.m4: refix a line broken by the previous commit
ax_lua.m4: fix a package module entry typo.

* m4/ax_lua.m4 (AX_PROG_LUA): s/package\.cpathd/package.cpath/.
ax_lua.m4: use redirections portably

* m4/ax_lua.m4 ( _AX_LUA_CHK_IS_INTRP): For portability, replace
  `&>` with `>/dev/null 2>&1`.
m4: fix one-argument AX_PROG_LUA invocation

* m4/ax_lua.m4 (_AX_LUA_CHK_VER): If version pattern match fails
return nil, then treat the "toobig" version number as math.huge.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ax_lua.m4: rewrite _AX_LUA_FND_PREFX_PTH

Rewrite in Lua for robustness and brevity.

Also make it understand the Lua style of ?-pattern path.

Patch from Gary Vaughan (gary@gnu.org)
AX_CXX_HAVE_REFERENCE_WRAPPER: remove dependency on AX_CXX_NAMESPACES
AX_CC_MAXOPT: default to -O2 for MSVC

Right now, ax_cc_maxopt.m4 ends up falling back onto -O3 when invoked
with MSVC. We should default to -O2 instead.
AX_CXX_HAVE_BAD_FUNCTION_CALL: remove dependency on AX_CXX_NAMESPACES
AX_CXX_HAVE_BIND: remove dependency on AX_CXX_NAMESPACES
AX_CXX_HAVE_BIT_AND: remove dependency on AX_CXX_NAMESPACES
AX_CXX_HAVE_BIT_OR: remove dependency on AX_CXX_NAMESPACES
AX_CXX_VAR_PRETTYFUNC: new macro to determine the function name

This new macro determines the best way to get the name of the current function
for different C++-compilers and -dialects (in the spirit of _FILE_ and _LINE_).

The patch also fixes some problems in AX_C_VAR_FUNC.

Submitted in <https://savannah.gnu.org/patch/index.php?8524>.
AX_CXX_HAVE_BIT_XOR: remove dependency on AX_CXX_NAMESPACES
AX_EXECINFO: new macro to test execinfo size type

<execinfo.h> has been available on a number of systems now, but unfortunately
different systems use different types to represent the size of the backtrace,
with netBSD and FreeBSD using size_t and Linux, Mac OS X. To build calls that
work with both implementations without warning, this macro not only checks if
the execinfo header is available but also what type is used for the len
argument of backtrace_symbols and the return value of backtrace.

All in all this macro defines

    HAVE_EXECINFO_H if execinfo.h can be included,
    backtrace_size_t to the len argument type, i.e. int or size_t,
    HAVE_BACKTRACE to 1 if the function can be linked to,

and append any library needed to LIBS (e.g. some BSD's need -lexecinfo).

Submitted in <https://savannah.gnu.org/patch/index.php?8525>.
AX_CXX_HAVE_CREF: remove dependency on AX_CXX_NAMESPACES
AX_CC_MAXOPT: make CPUID patterns robust

This fixes CPUID patterns to make them robust.
It also contains minor additions of Intel CPUs.
AX_CC_MAXOPT: add support for ICC 11.0 and later

This commit adds support for Intel C++ Compiler 11.0 and later.
It also adds support for latest Intel processors.
NEWS: update after recent changes
AX_CXX_HAVE_FUNCTION: remove dependency on AX_CXX_NAMESPACES
AX_CXX_HAVE_HASH: remove dependency on AX_CXX_NAMESPACES