From c621359122c0b86f917407c6c544d51c4b49cd1b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 23 Mar 2011 16:32:42 -0400 Subject: [PATCH] Add comment to configure.in to explain gc-sections test logic (Basically, we need access to conftest.err for the test to work properly.) --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index 340d9d23..2cc091bc 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 -- 2.40.0