CHARSETALIASDIR in TESTS_ENVIRONMENT?

2007-11-14 Thread Ben Pfaff
The localcharset module has a dependency on "make install" that I didn't realize until recently: until "make install" is run, locale_charset cannot resolve character set aliases. For PSPP at least, this makes "make check" before "make install" fail, unless CHARSETALIASDIR is explicitly set in the

Re: Stupid newbie question/ramble: Install?

2007-11-14 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jay Levitt on 11/14/2007 7:30 PM: > I'm caught in a bit of a dependency loop where I tried > upgrading bison, which needs m4, which (1.4.10) doesn't build properly > at the moment (but 1.4.0 built at one point), so I started patching it >

Stupid newbie question/ramble: Install?

2007-11-14 Thread Jay Levitt
Hi there... I'm way down in the weeds after a day of trying to port a bunch of GNU utils, and I will probably wake up in the middle of the night and figure out these answers myself. (The questions are so basic that I seriously considered posting these under an assumed name so that nobody will

Re: rethinking #if and 64-bit numbers (inttypes.h on Sun platforms)

2007-11-14 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > I would prefer to not let autoconf/lib/autoconf/types.m4 and > gnulib/m4/longlong.m4 go out of sync. This proposed patch resynchronizes > autoconf with the comments that you added to gnulib a day earlier: Thanks, I installed that.

test-xprintf-posix.sh failure on NetBSD 1.6

2007-11-14 Thread Jim Meyering
Hi Bruno, I've just run the test-xprintf-posix.sh test on NetBSD 1.6 and saw this failure: ... make[3]: Leaving directory `/tmp/coreutils-6.9.89.12-8e412/gnulib-tests' make check-TESTS make[3]: Entering directory `/tmp/coreutils-6.9.89.12-8e412/gnulib-tests' 4,19c4,7 < 0x0p+0 33 < inf 33 < -inf

Re: test-argmatch: fix a link failure

2007-11-14 Thread Bruno Haible
Jim Meyering wrote: > this doesn't work, either. > The trouble is that the argmatch code being linked against > is that from the library, and for coreutils, that module > includes references to usage, so an #undef here doesn't change anything. Oops, I admit I did not test the modification. > 3 di

Re: config.charset support for OpenBSD

2007-11-14 Thread Bruno Haible
Ben Pfaff wrote: > Here it is: > > locale namelocale charmap nl_langinfo(CODESET) locale_charset() > > C 646 646 bug > bg_BG.CP1251CP1251CP1251 > ... > If I add the line > echo "646 ASCII"

Re: test-argmatch: fix a link failure

2007-11-14 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Hi Jim, > >> Avoid link failure for the argmatch test. >> * tests/test-argmatch.c (usage): Define function to avoid a link >> failure: argmatch_die requires a usage function. > > This change may be justified inside coreutils. But in gnulib, t