This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for libiberty and systems providing sysconf but no _SC_PAGESIZE
- To: law at cygnus dot com
- Subject: Re: PATCH for libiberty and systems providing sysconf but no _SC_PAGESIZE
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Thu, 21 May 1998 16:53:30 +0200 (MEST)
- Cc: egcs-bugs at cygnus dot com, wilson at cygnus dot com
- References: <13666.45257.617684.376624@slsvhmt><7772.895726216@hurl.cygnus.com>
- Reply-To: manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de
On Wed, 20 May 1998, 22:50:16, law@hurl.cygnus.com wrote:
>
> In message <13666.45257.617684.376624@slsvhmt>you write:
> > configure defines HAVE_SYSCONF on my m88k-motorola-sysv; but unistd.h
> > fails to define the _SC_PAGESIZE macro. This patch add a fix for it; it
> > contains the additional check for unistd.h as someone else already
> > suggested.
> >
> > manfred
> >
> >
> > Wed May 20 11:55:11 1998 Manfred Hollstein <manfred@s-direktnet.de>
> >
> > * configure.in: Check for unistd.h as well.
> > * configure: Rebuild.
> > * config.in: Rebuild.
> > * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
> > is defined in unistd.h. Reformat conditional block for easier reading.
> Looks good to me. Please install it.
Done.
>
> Note that it would have been easier to read if the reformatting
> was done as a separate patch :-)
Next time ;-)
>
> jeff
manfred