Paul Eggert <address@hidden> wrote:
...
> Some Solaris extensions are the same as GNU extensions, so perhaps the
> simplest way to fix this is to modify AC_GNU_SOURCE to enable GNU
> extensions on Solaris as well as on GNU systems. Here's a patch for
> that. I'll also submit the corresponding patches to bug-gnulib.
Sounds like a reasonable compromise.
I'm willing to try it.
> 2003-08-05 Paul Eggert <address@hidden>
>
> * m4/gnu-source.m4: New file, taken from gnulib, with support
> added for __EXTENSIONS__ a la Solaris.
> * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
> than jm_CHECK_TYPE_STRUCT_TIMESPEC.
> * m4/st_mtim.m4: Sync with gnulib (white space change only).
> * m4/timespec.m4: Sync with gnulib, except also require
> AC_GNU_SOURCE.
Applied. Thanks yet again!