Re: Build errors on Solaris 2.6 & 7

2013-01-19 Thread Paul Eggert
OK, thanks for the additional information. How about the following patch instead? It relies on including if and only if !defined __XOPEN_OR_POSIX || defined __EXTENSIONS__. This last expression is something I picked up on Solaris 10, and I'm hoping it's also good for Solaris 2.6. --- ChangeLo

Re: Build errors on Solaris 2.6 & 7

2013-01-19 Thread Tom G. Christensen
On 01/19/2013 08:55 PM, Paul Eggert wrote: Does the following fix things? No, it just causes a different error: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I../intl -I/usr/tgcware/include -D_REENTRANT -g -O2 -c

Re: Build errors on Solaris 2.6 & 7

2013-01-19 Thread Paul Eggert
On 01/19/2013 05:43 AM, Tom G. Christensen wrote: > On 01/12/2013 11:49 AM, Tom G. Christensen wrote: >> For Solaris 2.6 the timestruc_t problem remains and I will look at that >> next. > > On Solaris 2.6 includes for struct timespec which > causes a problem in the include order. > It ends up a

Re: Non-recursive building?

2013-01-19 Thread John Darrington
On Thu, Jan 17, 2013 at 09:31:39AM -0700, Eric Blake wrote: On 01/17/2013 08:52 AM, John Darrington wrote: > Can gnulib's automake environment be used in a non-recursive manner? > That is to say can I include the gnulib modules from my project's > Makefile.am or is there no othe

Re: Build errors on Solaris 2.6 & 7

2013-01-19 Thread Tom G. Christensen
On 01/12/2013 11:49 AM, Tom G. Christensen wrote: For Solaris 2.6 the timestruc_t problem remains and I will look at that next. On Solaris 2.6 includes for struct timespec which causes a problem in the include order. It ends up as gnulib -> system -> gnulib -> system -> gnulib -> syste