AUTOTOOLS: Fix warning AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
Autoconf 2.68 requires that calling macros such as AC_PREPROC_IFELSE
or AC_LINK_IFELSE requires the use of AC_LANG_SOURCE or AC_LANG_PROGRAM
to generate the source code to compile.
AC_LANG_PROGRAM was used but was not used properly:
e.g.
dnl Wrongly updated code (will still issue a warning)
AC_LINK_IFELSE(AC_LANG_SOURCE([int main() { return 0; }]),
[some=thing], [some=other])
dnl Correctly updated code
AC_LINK_IFELSE([AC_LANG_SOURCE([int main() { return 0; }])],
[some=thing], [some=other])
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>