On 05/03/2011 03:52 PM, Sam Steingold wrote:
> when I regenerate config.h with the current gnulib, I get:
> 
> @@ -871,12 +979,6 @@
>  /* `struct sockaddr_un' from <sys/un.h> has a `sun_len' field */
>  #undef HAVE_SOCKADDR_UN_LEN
>  
> -/* Define to 1 if stdbool.h conforms to C99. */
> -#undef HAVE_STDBOOL_H
> -
> -/* Define to 1 if you have the <stddef.h> header file. */
> -#undef HAVE_STDDEF_H
> -
>  /* Define to 1 if you have the <stdint.h> header file. */
>  #undef HAVE_STDINT_H
>  
> 
> what happenned? are we assuming that all platforms now have these files?

<stddef.h> is required by C89, so yes, it was a redundant declaration.

<stdbool.h> is not required by C89.  However, nothing else in gnulib
used the results of the test, and the idea is that if you are using
gnulib's stdbool module, you don't care about a fully
standards-compliant <stdbool.h>, rather you care about the subset of
<stdbool.h> guaranteed by gnulib.  So we trimmed the size of config.h
for the sake of emacs:
http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00571.html

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to