mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-27 23:40:24 +02:00
(have_libc_stack_end): fix check.
Patch by Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
This commit is contained in:
parent
26a03f0796
commit
e1758d05da
1 changed files with 7 additions and 3 deletions
10
configure.in
10
configure.in
|
@ -325,8 +325,9 @@ AC_CHECK_FUNCS(sethostent gethostent endhostent dnl
|
|||
inet_pton inet_ntop)
|
||||
|
||||
AC_MSG_CHECKING(for __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);],
|
||||
have_libc_stack_end=yes,
|
||||
have_libc_stack_end=no)
|
||||
AC_MSG_RESULT($have_libc_stack_end)
|
||||
|
@ -474,7 +475,10 @@ AC_REPLACE_FUNCS(inet_aton putenv strerror memmove mkstemp)
|
|||
# explicitly to LIBOBJS to make sure that it is translated to
|
||||
# `alloca.lo' for libtool later on. This can and should be done more cleanly.
|
||||
AC_FUNC_ALLOCA
|
||||
if test "$ALLOCA" = "alloca.o"; then AC_LIBOBJ([alloca]); fi
|
||||
if test "$ALLOCA" = "alloca.o"
|
||||
then
|
||||
AC_LIBOBJ([alloca])
|
||||
fi
|
||||
|
||||
AC_CHECK_MEMBERS([struct stat.st_rdev])
|
||||
AC_CHECK_MEMBERS([struct stat.st_blksize])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue