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 Add an autoconf test to check for optional compiler flags like 2009-10-26 19:58:44 +00:00
find_std_program.m4
func_isinf.m4
func_isnan.m4
func_mmap_file.m4
header_mmap_anonymous.m4
huge_val.m4 Make sure we save CXXFLAGS before setting it as pedantic and regenerate 2010-03-02 05:06:54 +00:00
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 Fix autoconf 2.65 warning (don't use _cv_ inside AC_CACHE_VAL). 2010-01-26 08:43:05 +00:00
rand48.m4
sanity_check.m4
single_cxx_check.m4
visibility_inlines_hidden.m4