Re: _GNU_SOURCE redundant define

2008-08-20 Thread Ludovic Courtès
Hi, [EMAIL PROTECTED] (Ludovic Courtès) writes: The current Autoconf way is to use `AC_USE_SYSTEM_EXTENSIONS' (also available in 2.61) in lieu of these macros (see http://www.gnu.org/software/autoconf/manual/html_node/Obsolete-Macros.html) and to never explicitly define the `_*_SOURCE' CPP

Re: _GNU_SOURCE redundant define

2008-08-18 Thread Thien-Thi Nguyen
() [EMAIL PROTECTED] (Ludovic Courtès) () Sun, 17 Aug 2008 23:47:26 +0200 The current Autoconf way is to use `AC_USE_SYSTEM_EXTENSIONS' Note that you should also reposition: #include libguile/_scm.h as the first #include (before stdio.h et al) in, for example, libguile/stime.c, so that the

Re: _GNU_SOURCE redundant define

2008-08-17 Thread Ludovic Courtès
Hi Greg, Greg Troxel [EMAIL PROTECTED] writes: Greg Troxel [EMAIL PROTECTED] writes: On NetBSD-current/amd64, the branch_release-1-8 branch fails to build. _GNU_SOURCE is defined in config.h, and also in two files. With the following change, it builds and 'gmake check' succeeds. I have

Re: _GNU_SOURCE redundant define

2008-08-15 Thread Greg Troxel
Greg Troxel [EMAIL PROTECTED] writes: On NetBSD-current/amd64, the branch_release-1-8 branch fails to build. _GNU_SOURCE is defined in config.h, and also in two files. With the following change, it builds and 'gmake check' succeeds. I have figured this out. With autoconf 2.62 on NetBSD,

_GNU_SOURCE redundant define

2008-08-13 Thread Greg Troxel
On NetBSD-current/amd64, the branch_release-1-8 branch fails to build. _GNU_SOURCE is defined in config.h, and also in two files. With the following change, it builds and 'gmake check' succeeds. I'm not sure why _GNU_SOURCE is there; it seems guile should be mostly relying on POSIX-specified

Re: _GNU_SOURCE redundant define

2008-08-13 Thread Ludovic Courtès
Hi, Greg Troxel [EMAIL PROTECTED] writes: On NetBSD-current/amd64, the branch_release-1-8 branch fails to build. _GNU_SOURCE is defined in config.h, and also in two files. With the following change, it builds and 'gmake check' succeeds. Correct me if I'm wrong, but I suspect that is because