Re: Bug#548493: test-yesno.sh failure

2009-09-28 Thread Jim Meyering
Kurt Roeckx wrote: > On Sun, Sep 27, 2009 at 11:03:42PM +0200, Jim Meyering wrote: >> Thanks for the details. >> Here's a patch that's more likely to work. >> That this failure is specific to the sparc build >> is a strong indication that it is a bug in dash or the compiler. >> Maybe a sign-extensi

Re: have-lib: ‘additional_libdir’ set to ‘PREFIX/lib64’

2009-09-28 Thread Ludovic Courtès
Hi Bruno, Bruno Haible writes: > You can just as well set CPPFLAGS and LDFLAGS manually, then. Recall that > the --with-PACKAGE-prefix option is merely a shortcut for what can > be specified by setting CPPFLAGS and LDFLAGS appropriately. Right. > This will placate the real problem. The real pr

Re: have-lib: ‘additional_libdir’ set to ‘PREFIX/lib64’

2009-09-28 Thread Bruno Haible
Hi Ludovic, > When passed ‘--with-PACKAGE-prefix=/p’, ‘AC_LIB_LINKFLAGS_BODY’ > deduces ‘additional_libdir=/p/lib64’ on x86_64. Yes, this is expected on the common bi-arch Linux systems. > This doesn’t work on NixOS which doesn’t (quite) support multilib, and > where libs are to be found under ‘

Re: GNULIB_POSIXCHECK, remove, and gl_oset

2009-09-28 Thread Bruno Haible
Hi Eric, > I tried compiling m4 with -DGNULIB_POSIXCHECK, to see if I was missing any > useful modules. To my surprise, gl_oset.h failed to compile: > > In file included from ../../lib/gl_avltree_oset.h:21, > from ../../src/output.c:27: > ../../lib/gl_oset.h:236:76: macro "remo

GNULIB_POSIXCHECK, remove, and gl_oset

2009-09-28 Thread Eric Blake
Bruno, I tried compiling m4 with -DGNULIB_POSIXCHECK, to see if I was missing any useful modules. To my surprise, gl_oset.h failed to compile: In file included from ../../lib/gl_avltree_oset.h:21, from ../../src/output.c:27: ../../lib/gl_oset.h:236:76: macro "remove" passed 2 a

Re: more cygwin 1.7 docs

2009-09-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 9/26/2009 9:43 AM: > Cygwin 1.7 now provides canonicalize_file_name and euidaccess. I'm also > documenting some bugs in cygwin 1.5 which have been fixed for cygwin 1.7. Over the weekend, cygwin also added fexecve and execvp

Re: Bug#548493: test-yesno.sh failure

2009-09-28 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> # Test with seekable stdin; the followon process must see remaining data. >> -cat < ${p}in.tmp >> +cat < ${p}in.tmp > > This can be simplified to: > > tr @ '\177' < ${p}in.tmp Of course! Thanks. I've pushed this: >From a9ab119464cf6faa7551ff0b09007

have-lib: ‘additional_libdir’ set to ‘PREFIX/lib64’

2009-09-28 Thread Ludovic Courtès
Hello, When passed ‘--with-PACKAGE-prefix=/p’, ‘AC_LIB_LINKFLAGS_BODY’ deduces ‘additional_libdir=/p/lib64’ on x86_64. This doesn’t work on NixOS which doesn’t (quite) support multilib, and where libs are to be found under ‘/p/lib’. Unfortunately, this leads ‘AC_LIB_LINKFLAGS_BODY’ to ignore the