Add comment to configure.in to explain gc-sections test logic

(Basically, we need access to conftest.err for the test to work properly.)
This commit is contained in:
Nick Mathewson 2011-03-23 16:32:42 -04:00
parent 6bb23e4bb1
commit c621359122

View File

@ -706,6 +706,9 @@ if test "$GCC" = yes && test "$enable_function_sections" = yes ; then
]]
)],
[
dnl We have to do this invocation manually so that we can
dnl get the output of conftest.err to make sure it doesn't
dnl mention gc-sections.
if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
libevent_cv_gc_sections_runs=no
else