[PATCH 5/5] sys_socket: use stdalign, not alignof

2011-10-16 Thread Paul Eggert
* lib/sys_socket.in.h: Include instead of . * modules/sys_socket (Depends-on): Depend on stdalign, not alignof. --- ChangeLog |4 lib/sys_socket.in.h |2 +- modules/sys_socket |2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog i

[PATCH 4/5] crypto libraries: use stdalign

2011-10-16 Thread Paul Eggert
* lib/md4.c, lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c: Include and . Do not include . Do not include twice, in md4.c. (UNALIGNED_P): Simplify by using alignof. Use uintptr_t, not size_t, because we are accessing a pointer's bit-pattern, not a size. * modules/crypto/gc-md4 (Depends-on):

[PATCH 2/5] stdalign-tests: new module

2011-10-16 Thread Paul Eggert
* modules/stdalign-tests, tests/test-stdalign.c: New files. --- ChangeLog |3 ++ modules/stdalign-tests | 12 +++ tests/test-stdalign.c | 77 3 files changed, 92 insertions(+), 0 deletions(-) create mode 100644 modules/std

[PATCH 1/5] stdalign: new module

2011-10-16 Thread Paul Eggert
A while ago Bruno drafted a Gnulib module that is a replacement for C1x. This turns out to be useful for Emacs, so I've fleshed it out and used it in an experimental version of Emacs. Here's a proposed patch to add this to Gnulib. There are four followup patches, one to create a test module for i

[PATCH 3/5] argp: use stdalign

2011-10-16 Thread Paul Eggert
* lib/argp-parse.c: Include . (alignof): Remove. * modules/argp (Depends-on): Add stdalign. --- ChangeLog|5 + lib/argp-parse.c |2 +- modules/argp |1 + 3 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99664de..379bd4b 100644 -

Re: a saner bootstrap script

2011-10-16 Thread Gary V. Vaughan
Hi Bruno, On 16 Oct 2011, at 15:58, Bruno Haible wrote: > Gary V. Vaughan wrote: >> If there is a bug in gnulib-tool, or autopoint that puts unnecessary >> 'intl/' references into Makefiles when the presence of >> AM_GNU_GETTEXT_VERSION in configure.ac is a declaration that says there >> is no nee

Re: a saner bootstrap script

2011-10-16 Thread Bruno Haible
Gary V. Vaughan wrote: > If there is a bug in gnulib-tool, or autopoint that puts unnecessary > 'intl/' references into Makefiles when the presence of > AM_GNU_GETTEXT_VERSION in configure.ac is a declaration that says there > is no need for local 'intl/', then I think the bug should be fixed there