bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glob_.h & glibc


From: Derek Price
Subject: Re: glob_.h & glibc
Date: Fri, 09 Sep 2005 17:49:03 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

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:address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]