Andreas V�gele <[EMAIL PROTECTED]> 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"
;;
esacCurrently, 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".
_______________________________________________ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
