Re: [PATCH] fix quotearg when wchar.h is not used

2006-10-02 Thread Paul Eggert
Paolo Bonzini <[EMAIL PROTECTED]> writes: > * lib/quotearg.c [!HAVE_MBRTOWC]: Define mbstate_t to int. Thanks, I installed that.

Re: [bug-gnulib] make extensions work with CVS autoconf

2006-10-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 10/2/2006 2:20 PM: > >> OK to apply? > > Yes, but I would put the "# serial 2" line as first line of the file, and > reindent the contents of extensions.m4. Done. >> Plus, it looks like the original extensions.m4 was mi

Re: [bug-gnulib] make extensions work with CVS autoconf

2006-10-02 Thread Bruno Haible
Eric Blake wrote: > This patch is two-fold. First, the strnlen module now depends on extensions, > as otherwise it no longer installs any .m4 files for gnulib-tool to detect > that > extensions must be added to gl_EARLY. Second, the extensions module needs to > work with CVS autoconf. Looks

make extensions work with CVS autoconf

2006-10-02 Thread Eric Blake
Now that CVS autoconf has macros which use AC_USE_SYSTEM_EXTENSIONS, the code that generates gl_EARLY needs to take this into account. For example, without this patch, $ gnulib-tool --test fpending strlen Module list with included dependencies: fpending strnlen File list: lib/__fpending.c

[PATCH] fix quotearg when wchar.h is not used

2006-10-02 Thread Paolo Bonzini
While testing GNU sed's bootstrap mode (where it handcrafts a minimal config.h to work around system without a sed, or whose sed is not powerful enough to run configure), I found a bug in quotearg.c. If HAVE_WCHAR_H and HAVE_MBRTOWC are not set, various functions are #defined to work only on si

Re: FYI: coreutils/lib once again has automatically-generated dependencies

2006-10-02 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > I'm applying this. > 2006-10-02 Bruno Haible <[EMAIL PROTECTED]> > > * gnulib-tool (func_emit_lib_Makefile_am): Don't add no-dependencies > to the AUTOMAKE_OPTIONS. Thanks. With that, I've just reverted the work-around in coreutils' bootstrap

Re: [bug-gnulib] FYI: coreutils/lib once again has automatically-generated dependencies

2006-10-02 Thread Bruno Haible
Jim Meyering wrote: > Since switching coreutils to use gnulib-tool, the lib directory > has had no automatically-generated dependencies. > I finally noticed it today when modifying a lib/*.h header file > and finding that things weren't recompiled. > > IMHO, gnulib-tool should leave the default (g