Fix the configure check for growing stack
authorMatthias Clasen <mclasen@redhat.com>
Sun, 24 Nov 2013 01:12:13 +0000 (20:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 24 Nov 2013 01:26:10 +0000 (20:26 -0500)
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

index 6654e79..7d268db 100644 (file)
@@ -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
         ,)
 ])