This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH for libiberty and systems providing sysconf but no _SC_PAGESIZE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]