preprocessor

Preprocessing utilities

AC_UNPARENTHESIZED(...)

Removes the outermost parenthesis from a macro parameter.

This is useful, because commas separate arguments to function macros, but commas can sometimes be needed inside an argument as well.

The solution is to wrap such an argument into extra parenthesis like

MACRO((foo, bar)) 
and use AC_UNPARENTHESIZED in the final macro expansion.

Source code

AC_CONCAT(lhs, rhs)

Concatenates arguments after they have been expanded. Analog of BOOST_PP_CAT.

Source code