1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Fix build failure on Debian hppa architecture (bad stack growth detection)

* configure.in (SCM_I_GSC_STACK_GROWS_UP): Remove use of
	AC_CACHE_CHECK, which was inadvertently causing
	SCM_I_GSC_STACK_GROWS_UP _always_ to be 0.
This commit is contained in:
Neil Jerram 2008-08-07 23:24:31 +02:00
parent 76dae88158
commit 5ea8e76e85
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2008-08-07 Neil Jerram <neil@ossau.uklinux.net>
* configure.in (SCM_I_GSC_STACK_GROWS_UP): Remove use of
AC_CACHE_CHECK, which was inadvertently causing
SCM_I_GSC_STACK_GROWS_UP _always_ to be 0.
2008-07-17 Neil Jerram <neil@ossau.uklinux.net> 2008-07-17 Neil Jerram <neil@ossau.uklinux.net>
* configure.in: Update stack direction test to be like that in * configure.in: Update stack direction test to be like that in

1
NEWS
View file

@ -61,6 +61,7 @@ application code.
** Fix build issue on mips, mipsel, powerpc and ia64 (stack direction) ** Fix build issue on mips, mipsel, powerpc and ia64 (stack direction)
** Fix build issue on hppa2.0w-hp-hpux11.11 (`dirent64' and `readdir64_r') ** Fix build issue on hppa2.0w-hp-hpux11.11 (`dirent64' and `readdir64_r')
** Fix misleading output from `(help rationalize)' ** Fix misleading output from `(help rationalize)'
** Fix build failure on Debian hppa architecture (bad stack growth detection)
Changes in 1.8.5 (since 1.8.4) Changes in 1.8.5 (since 1.8.4)

View file

@ -1153,9 +1153,7 @@ GUILE_STRUCT_UTIMBUF
#-------------------------------------------------------------------- #--------------------------------------------------------------------
SCM_I_GSC_STACK_GROWS_UP=0 SCM_I_GSC_STACK_GROWS_UP=0
AC_CACHE_CHECK([stack direction], AC_RUN_IFELSE([AC_LANG_SOURCE(
[SCM_I_GSC_STACK_GROWS_UP],
[AC_RUN_IFELSE([AC_LANG_SOURCE(
[AC_INCLUDES_DEFAULT [AC_INCLUDES_DEFAULT
int int
find_stack_direction () find_stack_direction ()
@ -1178,7 +1176,7 @@ main ()
}])], }])],
[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)])]) [AC_MSG_WARN(Guessing that stack grows down -- see scmconfig.h)])
AC_CHECK_SIZEOF(float) AC_CHECK_SIZEOF(float)
if test "$ac_cv_sizeof_float" -le "$ac_cv_sizeof_long"; then if test "$ac_cv_sizeof_float" -le "$ac_cv_sizeof_long"; then