Fix the program passed to AC_LANG_PROGRAM to be only the BODY of the main
authorReid Spencer <rspencer@reidspencer.com>
Tue, 21 Sep 2004 17:10:52 +0000 (17:10 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 21 Sep 2004 17:10:52 +0000 (17:10 +0000)
commit91b538024a6fcecab80f422cb1fec52825faa44c
tree17117df8a3e666ecbb20877f852d71882f4b39f4
parent323ed35e4fda5247799a8ec384a2d1f39b4c461d
Fix the program passed to AC_LANG_PROGRAM to be only the BODY of the main
function, not the whole main function. This problem resulted during
conversion of scripts to the new autoconf standard. The effect was that
the mmap_file test would fail and if it does there is currently an
#ifdef'd #error that causes compilation to fail. Bad, bad, bad.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16462 91177308-0d34-0410-b5e6-96231b3b80d8
autoconf/m4/func_mmap_file.m4