HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265c456
)
(__libc_stack_end): Actually use the value in __libc_stack_end for
author
Marius Vollmer
<mvo@zagadka.de>
Sun, 27 Jul 2003 14:06:19 +0000
(14:06 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Sun, 27 Jul 2003 14:06:19 +0000
(14:06 +0000)
something so that the access doesn't get optimized away. Thanks to
Matthias Koeppe!
configure.in
patch
|
blob
|
blame
|
history
diff --git
a/configure.in
b/configure.in
index
8db890f
..
46cfabd
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-603,8
+603,9
@@
AC_CHECK_FUNCS(sethostent gethostent endhostent dnl
AC_MSG_CHECKING(for __libc_stack_end)
AC_CACHE_VAL(guile_cv_have_libc_stack_end,
-[AC_TRY_LINK([extern char *__libc_stack_end;],
- [char *p = __libc_stack_end;],
+[AC_TRY_LINK([#include <stdio.h>
+extern char *__libc_stack_end;],
+ [printf("%p", (char*) __libc_stack_end);],
guile_cv_have_libc_stack_end=yes,
guile_cv_have_libc_stack_end=no)])
AC_MSG_RESULT($guile_cv_have_libc_stack_end)