Commit 2d5fb361 authored by Ting-Wei Lan's avatar Ting-Wei Lan
Browse files

configure: Don't put includes in function body of AC_LANG_PROGRAM

The second argument of AC_LANG_PROGRAM is the content of main function.
We cannot put any includes there, or we end up testing whether the
compiler supports nested functions because headers may have definitions
for inline functions.
parent 331472cc
......@@ -173,8 +173,8 @@ if test "x$have_statvfs" = "xyes" ; then
# Check for defines we expect
#include "stdio.h"
#include "stdio.h"]], [[
printf ("%s", __FUNCTION__);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment