llvm-6502/autoconf/m4
Dan Gohman 39ed6789c5 Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that
gets placed inside a main function, and should not itself be a main
function. This is silently hidden in GCC-hosted builds because the
inner main looks like a nested function declaration, which GCC supports.
In builds with compilers which do not support nested functions (by default),
this was causing an error, which caused these autoconf checks to fail, 
leaving their options disabled.

This fixes test/Feature/load_module.ll on x86_64-unknown-linux-gnu
llvm-gcc selfhost builds, among other things.

This also includes a regenerated configure, as the diff is small and telling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102288 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-25 00:12:20 +00:00
..
build_exeext.m4
c_printf_a.m4
check_gnu_make.m4
config_makefile.m4
config_project.m4
cxx_flag_check.m4
find_std_program.m4
func_isinf.m4
func_isnan.m4
func_mmap_file.m4
header_mmap_anonymous.m4
huge_val.m4
libtool.m4
link_options.m4 Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code that 2010-04-25 00:12:20 +00:00
linux_mixed_64_32.m4
ltdl.m4
need_dev_zero_for_mmap.m4
path_perl.m4
path_tclsh.m4
rand48.m4
sanity_check.m4
single_cxx_check.m4
visibility_inlines_hidden.m4