bug-guile
[Top][All Lists]
Advanced

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

Re: More problems on HP-UX ... 3


From: Andreas Vögele
Subject: Re: More problems on HP-UX ... 3
Date: Sat, 1 May 2004 14:55:36 +0200

Am 28.04.2004 um 00:41 schrieb Kevin Ryde:

Andreas Vögele <address@hidden> writes:

On HP-UX, the gmtime_r() prototype isn't declared unless
-D_POSIX_C_SOURCE=199506L is passed to the C compiler.

Thanks, I added that.

_POSIX_C_SOURCE is also required in libguile/filesys.c for readdir_r(). Wouldn't it be better to change configure.in instead of the source files?

AC_CANONICAL_HOST

# On HP-UX, _POSIX_C_SOURCE must be defined to 199506L to get prototypes
# for reentrant functions like gmtime_r(), readdir_r() etc.
case "$host" in
  *-*-hpux* )
    CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=199506L"
  ;;
esac

Currently, I can't build Guile CVS since autogen.sh fails on HP-UX as well as on Debian Woody (with autoconf and automake from backports.org). It get the error message "possible undefined macro: AM_INIT_AUTOMAKE".





reply via email to

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