Paul Eggert wrote: >Thanks. A few comments. First, that SYS_CDEFS_H thing is really > >
This all looks good, except: >Fourth, we can AC_REQUIRE AC_GNU_SOURCE, so that we needn't worry about >__USE_GNU. > > We ran into this problem the first time we went through this: <http://lists.gnu.org/archive/html/bug-gnulib/2005-05/msg00144.html>. AC_GNU_SOURCES does not #define __USE_GNU. It #defines something else that causes __USE_GNU to be #defined after <sys/cdefs.h> is #included on GNU systems. Unfortunately, this module needs to compile on systems without LIBC and on non-GNU systems, where __USE_GNU would not otherwise get #defined. >In summary, how about the following patch instead? (Please note that >I haven't tested it.) > > I've imported it into CVS for testing. I'll let you know what happens. Regards, Derek -- Derek R. Price CVS Solutions Architect Ximbiot <http://ximbiot.com> v: +1 717.579.6168 f: +1 717.234.3125 <mailto:[EMAIL PROTECTED]> _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib