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: 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

Re: test-argmatch: fix a link failure

2007-11-11 Thread Bruno Haible
Jim Meyering wrote: > Thanks for fixing the underlying problem. OK, I applied this: 2007-11-11 Bruno Haible <[EMAIL PROTECTED]> * tests/test-argmatch.c (ARGMATCH_DIE): Undefine. (usage): Remove function. *** tests/test-argmatch.c.orig 2007-11-11 14:24:58.0 +0100 --- t

Re: test-argmatch: fix a link failure

2007-11-11 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: >> 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, the argmatch

Re: test-argmatch: fix a link failure

2007-11-10 Thread Bruno Haible
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, the argmatch module does not make any reference

test-argmatch: fix a link failure

2007-11-10 Thread Jim Meyering
coreutils will soon be including gnulib tests. Here's the first fix, just pushed: 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. --- ChangeLog |6 +