llvm-project/llvm/autoconf/m4
Dan Gohman a1c94049c2 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.

llvm-svn: 102288
2010-04-25 00:12:20 +00:00
..
build_exeext.m4 When looking for executable extensions, ignore .dSYM, as that's the debug info directory on Darwin. 2008-09-26 17:27:58 +00:00
c_printf_a.m4
check_gnu_make.m4
config_makefile.m4 install-sh chmods to 0755 by default, and this causes 'git diff' to show 2009-08-28 16:12:48 +00:00
config_project.m4 Make it possible to default the llvm_src and llvm_obj variables based on 2006-04-18 06:25:37 +00:00
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 For PR876: 2006-08-14 23:19:57 +00:00
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 Fix broken default help strings for enable-shared, enable-static, and enable-fast-install. Regenerate configure script. 2007-09-17 21:41:15 +00:00
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 On Linux, uname -m reports the kernel type. Some Linux systems are 32-bit but 2009-09-29 05:40:45 +00:00
ltdl.m4 Update the auto* tools: autoconf 2.60, libtool 1.5.22, automake 1.9.6. 2006-08-04 18:18:08 +00:00
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 Fix a configure warning noticed by Duncan Sands. 2007-01-03 20:59:52 +00:00
single_cxx_check.m4
visibility_inlines_hidden.m4 Reapply majority of r55557 but with the changes to compilation flags 2008-09-02 17:35:16 +00:00