[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: _GNU_SOURCE redundant define
From: |
Ludovic Courtès |
Subject: |
Re: _GNU_SOURCE redundant define |
Date: |
Wed, 13 Aug 2008 23:30:58 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hi,
Greg Troxel <address@hidden> 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 you had
autoreconf'd and configured `master', which created a `config.h{,.in}'
that defines `_GNU_SOURCE', and then switched to `branch_release-1-8',
which did not recreate `config.h.in'.
The fix is to make sure to run "make distclean" before running
"autoreconf && configure && make".
And thanks for the NetBSD autobuild!
Hope this helps,
Ludo'.