unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* configure.in stack growth typo
@ 2003-05-11 22:09 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-05-11 22:09 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

I applied a correction,

        * configure.in (SCM_I_GSC_STACK_GROWS_UP): Fix missing comma in
        AC_TRY_RUN.

This was causing downward stack systems to get the cross-compile
warning, and cross-compile to fail completely.

Incidentally, if this really must be known at configure time then it
might be better for the cross compile to be fatal, to avoid mysterious
problems.  It could advise how to force a value with a cache variable
or something.


[-- Attachment #2: configure.in.grow.diff --]
[-- Type: text/plain, Size: 623 bytes --]

Index: configure.in
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/configure.in,v
retrieving revision 1.213
diff -u -u -r1.213 configure.in
--- configure.in	7 Apr 2003 17:31:02 -0000	1.213
+++ configure.in	11 May 2003 22:06:48 -0000
@@ -788,7 +788,7 @@
 AC_TRY_RUN(aux (l) unsigned long l;
 	     { int x; exit (l >= ((unsigned long)&x)); }
 	   main () { int q; aux((unsigned long)&q); },
-           SCM_I_GSC_STACK_GROWS_UP=1
+           [SCM_I_GSC_STACK_GROWS_UP=1],
 	   [],
            [AC_MSG_WARN(Guessing that stack grows down -- see scmconfig.h)])
 

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-11 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-11 22:09 configure.in stack growth typo Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).