[PATCH] Set PATH_SEPARATOR the same way autoconf does.

2010-09-03 Thread Stefano Lattarini
A mostly cosmetic patch. Maybe you can find it worth applying anyway. Regards, Stefano -*-*- * gnulib-tool (func_gnulib_dir): Determine the value of PATH_SEPARATOR the same way autoconf-generated configure scripts do. * posix-modules: Likewise. --- ChangeLog |8 gnulib-tool

Re: feature request: detect CPU instruction set

2010-09-03 Thread Bruno Haible
Sam, > > AH_TOP([/* CPU and C ABI indicator */ > > #ifndef __i386__ > > #undef __i386__ > > #endif > > ... > > #ifndef __sparc64__ > > #undef __sparc64__ > > #endif > > ]) > > what is this? It's a set of preprocessor commands that get copied into config.h.in. So that config.h will define the a

Re: feature request: detect CPU instruction set

2010-09-03 Thread Sam Steingold
Bruno Haible wrote: AH_TOP([/* CPU and C ABI indicator */ #ifndef __i386__ #undef __i386__ #endif #ifndef __x86_64__ #undef __x86_64__ #endif #ifndef __alpha__ #undef __alpha__ #endif #ifndef __arm__ #undef __arm__ #endif #ifndef __armel__ #undef __armel__ #endif #ifndef __hppa__ #undef __hppa_

Re: Error building octave make dist: operator '||' has no right operand

2010-09-03 Thread Ludovic Courtès
Hi, The problem was fixed in the mean time: http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=21a2a33e06810921f68b66061a255fc07a472502 Thanks, Ludo’.

Re: dirfd on AIX 7.1BETA

2010-09-03 Thread Jarno Rajahalme
On Jul 31, 2010, at 12:52 , ext Bruno Haible wrote: > Rainer Tammer wrote: >> maybe this is only a glich in the AIX7BETA ? > > Maybe. But the commit that I did does not harm; it increases gnulib's > robustness also for other platforms. > > Bruno > Bruno, Apparently this was not the case on O

Re: Error building octave make dist: operator '||' has no right operand

2010-09-03 Thread Jim Meyering
Rob Vermaas wrote: > as of commit 0ad84b5297860975e72ef9a27e2c3218c3628b33 in gnulib, we > get build errors in our continous integration setup of octave. We get > the following error: > > ../libgnu/wctype.h:583:14: error: operator '||' has no right operand > ../libgnu/wctype.h:656:6: error: #if wit

Re: Failing to use gnulib bootstrap in libtool

2010-09-03 Thread Eric Blake
On 09/03/2010 04:03 AM, Bruno Haible wrote: It is well possible to use gnulib without using 'bootstrap'. As examples, please see the 'autogen.sh' scripts of some packages: - libunistring Also GNU M4, which use

Re: gnulib-tool: new options --add-import, --remove-import

2010-09-03 Thread Eric Blake
On 09/03/2010 04:32 AM, Bruno Haible wrote: Hi, gnulib-tool is being used in two contexts: A) Directly by a user, who wants to type the minimum of arguments. B) By an autogen.sh or bootstrap script, where it is important to keep a clear separation between files that are "input" (stor

Error building octave make dist: operator '||' has no right operand

2010-09-03 Thread Rob Vermaas
Hi, as of commit 0ad84b5297860975e72ef9a27e2c3218c3628b33 in gnulib, we get build errors in our continous integration setup of octave. We get the following error: ../libgnu/wctype.h:583:14: error: operator '||' has no right operand ../libgnu/wctype.h:656:6: error: #if with no expression Any idea

Re: Failing to use gnulib bootstrap in libtool

2010-09-03 Thread Bruno Haible
Hi Jim, Gary, > * modules/gettext inserts this line in Makefile.am (sometimes aka gnulib.mk) > > AM_CPPFLAGS += -I$(top_builddir)/intl > > and the above code comments that out. > That commenting-out is required for any project that does not > provide an intl/ directory. Ot

Re: Failing to use gnulib bootstrap in libtool

2010-09-03 Thread Jim Meyering
Jim Meyering wrote: > Jim Meyering wrote: > ... >> Much of slurp is now obsolete. It was working around problems >> in gnulib that have been resolved. >> >> For example, as far as I can see, removing the following blocks >> induces no change in coreutils' build process. >> >> diff --git a/bootstra

Re: Failing to use gnulib bootstrap in libtool

2010-09-03 Thread Jim Meyering
Jim Meyering wrote: ... > Much of slurp is now obsolete. It was working around problems > in gnulib that have been resolved. > > For example, as far as I can see, removing the following blocks > induces no change in coreutils' build process. > > diff --git a/bootstrap b/bootstrap > index 5ab4cf7..

gnulib-tool: new options --add-import, --remove-import

2010-09-03 Thread Bruno Haible
Hi, gnulib-tool is being used in two contexts: A) Directly by a user, who wants to type the minimum of arguments. B) By an autogen.sh or bootstrap script, where it is important to keep a clear separation between files that are "input" (stored in VCS) and files that are "output" (not

Re: Failing to use gnulib bootstrap in libtool

2010-09-03 Thread Bruno Haible
Hi Gary, Gary V. Vaughan wrote: > Is gnulib bootstrap designed for reuse in other projects? > > I'm finding it extremely difficult to understand a lot of the code, ... > ... a lot of questions about the design choices, below. In short, it could > use a complete rewrite. It is well possible to u