]> granicus.if.org Git - libevent/commitdiff
Add comment to configure.in to explain gc-sections test logic
authorNick Mathewson <nickm@torproject.org>
Wed, 23 Mar 2011 20:32:42 +0000 (16:32 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 23 Mar 2011 20:32:42 +0000 (16:32 -0400)
(Basically, we need access to conftest.err for the test to work properly.)

configure.in

index 340d9d2310587edefd41e3e270bd8b0b00cb7670..2cc091bcd92774237fdc65125e45291513d90a7d 100644 (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