guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile FTBFS on hppa - problem in detecting stack direction?


From: Carlos O'Donell
Subject: Re: Guile FTBFS on hppa - problem in detecting stack direction?
Date: Thu, 7 Aug 2008 08:27:46 -0400

On Wed, Aug 6, 2008 at 4:38 PM, Neil Jerram <address@hidden> wrote:
> SCM_I_GSC_STACK_GROWS_UP=0

Move this line.

> AC_CACHE_CHECK([stack direction],
>               [SCM_I_GSC_STACK_GROWS_UP],
> [AC_RUN_IFELSE([AC_LANG_SOURCE(
> [AC_INCLUDES_DEFAULT
> int
> find_stack_direction ()
> {
>  static char *addr = 0;
>  auto char dummy;
>  if (addr == 0)
>    {
>      addr = &dummy;
>      return find_stack_direction ();
>    }
>  else
>    return (&dummy > addr) ? 1 : -1;
> }
>
> int
> main ()
> {
>  return find_stack_direction () < 0;
> }])],
>               [SCM_I_GSC_STACK_GROWS_UP=1],
>               [],

Into this empty bracket.

>               [AC_MSG_WARN(Guessing that stack grows down -- see 
> scmconfig.h)])])

Tell me if that fixes your problem with cached variable detection.

Cheers,
Carlos.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]