From: Nick M. <ni...@us...> - 2011-03-23 20:35:26
|
Author: Nick Mathewson <ni...@to...> Date: Wed, 23 Mar 2011 16:32:42 -0400 Subject: Add comment to configure.in to explain gc-sections test logic Commit: c621359122c0b86f917407c6c544d51c4b49cd1b (Basically, we need access to conftest.err for the test to work properly.) --- configure.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure.in b/configure.in index 340d9d2..2cc091b 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 1.7.0.1 |