gnulib-tool tweaks

2005-10-17 Thread Bruno Haible
Hi, I committed these small tweaks to gnulib-tool: 2005-10-16 Bruno Haible [EMAIL PROTECTED] * gnulib-tool (func_emit_tests_Makefile_am): Also define TESTS_ENVIRONMENT, so that individual tests can augment it. * gnulib-tool (func_create_testdir): Use an intermediate

stdbool.m4 bug

2005-10-17 Thread Bruno Haible
Hi Paul, This snippet of code in stdbool.m4, added on 2004-06-01, looks fishy to me: enum { j = false, k = true, l = false * true, m = true * 256 }; ... return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l + !m + !n + !o); You are expecting that j and l evaluate to

stdint.h and Linux libc5

2005-10-17 Thread Bruno Haible
Hi, It was reported to me that the use of module 'stdint' on Linux/libc5 with gcc-2.7.2.1 gives an error. The reason is that sys/bitypes.h, included by sys/types.h, already defines int8_t, int16_t and int32_t. Here's a proposed fix, that I will send to the reporter for testing. Bruno

Re: syncing md5 against glibc

2005-10-17 Thread Simon Josefsson
Simon Josefsson [EMAIL PROTECTED] writes: Jim Meyering [EMAIL PROTECTED] writes: Simon Josefsson [EMAIL PROTECTED] wrote: Let's not wait for glibc to install my patch... What do you think about installing the following in gnulib now? It would sync gnulib with my proposed libc-patch. It

Re: syncing md5 against glibc

2005-10-17 Thread Jim Meyering
Simon Josefsson [EMAIL PROTECTED] wrote: The glibc maintainers didn't accept this patch, see: http://sourceware.org/bugzilla/show_bug.cgi?id=1439 I can understand why Ulrich would not want such a patch. It's probably hard to justify risking glibc stability for a relatively large change that

Re: syncing md5 against glibc

2005-10-17 Thread Simon Josefsson
Jim Meyering [EMAIL PROTECTED] writes: Simon Josefsson [EMAIL PROTECTED] wrote: The glibc maintainers didn't accept this patch, see: http://sourceware.org/bugzilla/show_bug.cgi?id=1439 I can understand why Ulrich would not want such a patch. It's probably hard to justify risking glibc

gc: add forgotten prototypes

2005-10-17 Thread Simon Josefsson
I forgot the prototypes for these earlier. I also ran indent on the file... I have installed this. Incidentally, I have now installed this gnulib in GnuTLS and I'm working out the glitches. 2005-10-17 Simon Josefsson [EMAIL PROTECTED] * gc.h (gc_nonce, gc_pseudo_random, gc_random):

gc-sha1-tests

2005-10-17 Thread Simon Josefsson
I have installed this. Index: modules/gc-sha1-tests === RCS file: modules/gc-sha1-tests diff -N modules/gc-sha1-tests --- /dev/null 1 Jan 1970 00:00:00 - +++ modules/gc-sha1-tests 17 Oct 2005 14:47:50 - @@ -0,0 +1,11

Re: gnulib-tool tweaks

2005-10-17 Thread Stepan Kasal
Hi Bruno, and what about the following? Stepan 2005-10-17 Stepan Kasal [EMAIL PROTECTED] * gnulib-tool (func_create_testdir): Omit the clumsy check whether BUILT_SOURCES in nonempty. Index: gnulib-tool === RCS

Re: problems in stdbool.m4

2005-10-17 Thread Stepan Kasal
Hello, On Fri, Oct 14, 2005 at 01:57:00PM +0200, Bruno Haible wrote: We do override include files by using our own if the system's one is defective. ... We do override an autoconf macro if it is buggy. yes, that makes sense. Thanks for explaining. Stepan

Re: [bug-gnulib] Re: gnulib-tool tweaks

2005-10-17 Thread Bruno Haible
Stepan Kasal wrote: and what about the following? - built_sources=`grep '^BUILT_SOURCES *=' Makefile.in | sed -e 's/^BUILT_SOURCES *=//'` - if test -n $built_sources; then Thanks, applied. Bruno ___ bug-gnulib mailing list

Re: stdbool.m4 bug

2005-10-17 Thread Bruno Haible
Paul Eggert wrote: enum { j = false, k = true, l = false * true, m = true * 256 }; ... return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l + !m + !n + !o); You are expecting that j and l evaluate to true? No, I'm just making sure that every declared