[glib] Fix the configure check for growing stack



commit df71ecfc2dcefdc05f18dda5e6108f75ecbfe491
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 23 20:12:13 2013 -0500

    Fix the configure check for growing stack
    
    The check was getting the direction wrong, as proven by the
    just committed signal invocation hint test.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711871

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6654e79..7d268db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -600,9 +600,9 @@ AC_CACHE_CHECK([for growing stack pointer],glib_cv_stack_grows,[
        int main () { volatile int y = 7; a = &y; foo (); return b > a; }
        void foo (void) { volatile int x = 5; b = &x; }
                ],
-       glib_cv_stack_grows=no
-        ,
        glib_cv_stack_grows=yes
+        ,
+       glib_cv_stack_grows=no
         ,)
 ])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]