This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Patch installed for autoconf cleanup (part 1)
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Patch installed for autoconf cleanup (part 1)
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Sun, 30 Apr 2000 19:13:06 +0200
- Cc: gcc-bugs at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>
- References: <200004241754.NAA18447@caip.rutgers.edu>
Kaveh,
* Kaveh R. Ghazi (ghazi@caip.rutgers.edu) [20000424 19:54]:
> A while back I submitted a patch to cleanup some autoconf
> issues, got approval, but never installed it. (Sorry, my bad.)
while we're on the subject of configury, I have two issues at hand, which
would both be solved by the same action.
1) configure checks if a declaration for environ (and possibly others) is
needed but doesn't check if defining _GNU_SOURCE would yield one.
2) When using the *_unlocked variants from glibc2, you get warnings about
missing prototypes.
Both could be solved by defining _GNU_SOURCE, either conditionally or
unconditionally. Are there any reasons *not* to define it unconditionally? I
don't see any, but there may well be some. If there are reasons to not do it
unconditionally, I'll try to come up with patches which defines it when
appropriate.
Philipp
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
#define NINODE 50 /* number of in core inodes */
#define NPROC 30 /* max number of processes */
-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h