building gen-scmconfig.c on FreeBSD

2004-09-08 Thread Andreas Vögele
On FreeBSD string.h includes the system header strings.h. The problem is that Guile provides another file called strings.h which is included instead of the system header file. This causes the build of gen-scmconfig to fail since Guile's strings.h includes scmconfig.h which hasn't been created

Re: test_9 (0.0/0.0, +nan.0) fails on OpenBSD and FreeBSD

2004-09-08 Thread Marius Vollmer
Andreas Vögele [EMAIL PROTECTED] writes: The problem is that NaN may be negative or positive on these systems. The function real_eqv in libguile/eq.c, which uses memcmp to compares doubles, doesn't take this into account. Hmm. Another stance on this is that real_eqv does in fact take this

Re: portable pthreads test

2004-09-08 Thread Kevin Ryde
Andreas Vögele [EMAIL PROTECTED] writes: Here's a patch that replaces the test for the pthread library with the macro from http://www.gnu.org/software/ac-archive/htmldoc/acx_pthread.html. Copyright paperwork will be needed before that can be used. Without this patch Guile CVS cannot be

Re: building gen-scmconfig.c on FreeBSD

2004-09-08 Thread Kevin Ryde
Andreas Vögele [EMAIL PROTECTED] writes: gen-scmconfig.$(OBJEXT): gen-scmconfig.c $(CC_FOR_BUILD) $(DEFS) $(INCLUDES) -c -o $@ $; Yep, I'd been meaning to do that. But probably omitting $INCLUDES, since they're likely to be host-system things, not build-system. $DEFS probably only has