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: manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de
- Subject: Re: PATCH for libiberty and systems providing sysconf but no _SC_PAGESIZE
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 20 May 1998 22:50:16 -0600
- cc: egcs-bugs at cygnus dot com, wilson at cygnus dot com
- Reply-To: law at cygnus dot com
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.
Note that it would have been easier to read if the reformatting
was done as a separate patch :-)
jeff