bootstrap: fix HPUX/grep portability problem

2007-03-17 Thread Jim Meyering
* build-aux/bootstrap: Don't use \> in grep regexp. For HP-UX. Index: build-aux/bootstrap === RCS file: /cvsroot/gnulib/gnulib/build-aux/bootstrap,v retrieving revision 1.3 diff -u -p -r1.3 bootstrap --- build-aux/bootstrap

[BUG] Check for AC_CONFIG_AUX_DIR is incorrect

2007-03-17 Thread Alfred M. Szmidt
Hey, The check for AC_CONFIG_AUX_DIR is incorrect, since autoconf (really, m4) allows one to quote arguments. So if ones configure.ac contains the following valid code: AC_CONFIG_AUX_DIR([build-aux]) the check will fail. Not entierly sure how to handle it since m4 allows one to set the quote c

[BUG] m4/ directory not created

2007-03-17 Thread Alfred M. Szmidt
Hey, Right now alot of the code assumes that m4/ will existed before invoking any commands, this can cause failures if you don't have a m4/ in your tree (for whatever reason). Not sure what the proper fix should be, either to have bootstart create it, or have aclocal create it if it is missing.

Re: [BUG] Check for AC_CONFIG_AUX_DIR is incorrect

2007-03-17 Thread Jim Meyering
"Alfred M. Szmidt" <[EMAIL PROTECTED]> wrote: > The check for AC_CONFIG_AUX_DIR is incorrect, since autoconf (really, > m4) allows one to quote arguments. So if ones configure.ac contains > the following valid code: > > AC_CONFIG_AUX_DIR([build-aux]) > > the check will fail. Not entierly sure how

Re: [BUG] Check for AC_CONFIG_AUX_DIR is incorrect

2007-03-17 Thread Jim Meyering
Jim Meyering <[EMAIL PROTECTED]> wrote: ... > +if test $found_aux_dir = no; then >{ > echo "$0: expected line not found in configure.ac. Add the following:" > >&2 > -echo " AC_CONFIG_AUX_DIR($build_aux)" >&2. > +echo " AC_CONFIG_AUX_DIR([$build_aux])" >&2. >} Whoops. I've

use of thread-unsafe localeconv in vasprintf

2007-03-17 Thread Simon Josefsson
In gsasl I have a script that try to help me make sure I don't use thread unsafe functions (included below for reference), and after updating gnulib for it, it triggers on vasnprintf.c: ../lib/gl/vasnprintf.c:#include /* localeconv() */ ../lib/gl/vasnprintf.c: loc

Re: adding bootstrap and bootstrap.conf

2007-03-17 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Jim Meyring wrote: >> My impression is that few (if any) of the autogen scripts use gnulib > > The one gettext does. > >> there's another definition (the first one when I type "dict bootstrap") >> that is more evocative: to load and initialize the operatin

Re: adding bootstrap and bootstrap.conf

2007-03-17 Thread Ben Pfaff
Bruno Haible <[EMAIL PROTECTED]> writes: > GNOME and some other GNU projects use the name 'autogen.sh' for scripts with > this purpose. It's a well-known and self-explaining name. I'd suggest to > rename 'bootstrap' to 'autogen.sh'. One oddity of the name "autogen.sh" is that there is a GNU proje

Re: adding bootstrap and bootstrap.conf

2007-03-17 Thread Bruce Korb
Ben Pfaff wrote: > Bruno Haible <[EMAIL PROTECTED]> writes: > >> GNOME and some other GNU projects use the name 'autogen.sh' for scripts with >> this purpose. It's a well-known and self-explaining name. I'd suggest to >> rename 'bootstrap' to 'autogen.sh'. > > One oddity of the name "autogen.sh"

Re: another vasnprintf fix

2007-03-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 3/17/2007 6:32 PM: > * lib/vasnprintf.c (EOVERFLOW): New fallback definition. > (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is > larger than INT_MAX, or when it grow to a value larger t