A little essay in the commit message should be sufficient. Something
vaguely like this, maybe. (cut and pasted from the above)
This avoids warnings from Autoconf 2.68 about missing use of
AC_LANG_PROGRAM and friends.
Allow me to quote autoconf-2.68/NEWS:
** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and
AC_RUN_IFELSE now warn if the first argument failed to use
AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file
contents. A new macro AC_LANG_DEFINES_PROVIDED exists if you have
a compelling reason why you cannot use AC_LANG_SOURCE but must
avoid the warning.
The underlying reason for this change is that AC_LANG_{SOURCE,PROGRAM}
take care to actually supply the previously computed set of #defines
(and include the standard headers if so desired), for preprocessed
languages like C and C++.
In some cases, AC_LANG_PROGRAM is already used but not sufficiently
m4-quoted, so we just need to add another set of [quotes] to prevent
the autoconf warning from being triggered bogusly. Quoting all
arguments (except when calling special macros that _need_ to be
expanded before recursion) is better style, anyway. These and more
rules are described in detail in 'info Autoconf "Programming in M4"'.
The patch should not cause any semantic changes in the generated
configure script.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html