Re: Use $(MKDIR_P) instead of @MKDIR_P@

2009-09-26 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Tue, Sep 01, 2009 at 10:37:49AM CEST: > I can see that in rare, rare cases, since MKDIR_P is a command, people > may want to use different versions of it. But for things like @LIBINTL@ > and @LIBSOCKET@, it is still better to write them as @LIBINTL@, not > $(LIBI

Re: Use $(MKDIR_P) instead of @MKDIR_P@

2009-09-26 Thread Ralf Wildenhues
* Paolo Bonzini wrote on Thu, Sep 24, 2009 at 09:52:58AM CEST: > On 09/24/2009 08:42 AM, Jim Meyering wrote: > >Would anyone object to increasing the minimum to automake-1.10? > > Fine. After 1.7 the backwards compatibility of automake has > improved greatly. > > However, even though GCC and GDB

more cygwin 1.7 docs

2009-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -BEGI

Re: Use $(MKDIR_P) instead of @MKDIR_P@

2009-09-26 Thread Paolo Bonzini
On Sat, Sep 26, 2009 at 12:46, Ralf Wildenhues wrote: > * Paolo Bonzini wrote on Thu, Sep 24, 2009 at 09:52:58AM CEST: >> On 09/24/2009 08:42 AM, Jim Meyering wrote: >> >Would anyone object to increasing the minimum to automake-1.10? >> >> Fine.  After 1.7 the backwards compatibility of automake h

getopt broken

2009-09-26 Thread Sergey Poznyakoff
Hello, The latest changes to getopt (commit 6471b462, "getopt: fix inclusion guards for cygwin") break compilation of getopt1.c on GNU/Linux: GENconfigmake.h CC getopt1.o getopt1.c:42: error: syntax error before '*' token getopt1.c: In function `getopt_long': getopt1.c:44: error: number o

Re: getopt broken

2009-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Sergey Poznyakoff on 9/26/2009 3:24 PM: > The reason is that the declarations of getopt_long and getopt_long_r > both use __getopt_argv_const, which is normally defined in getopt.h. > However, if the system already has getopt.h, it gets in

Re: getopt broken

2009-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Sergey Poznyakoff on 9/26/2009 3:24 PM: > Hello, > > The latest changes to getopt (commit 6471b462, "getopt: fix inclusion > guards for cygwin") break compilation of getopt1.c on GNU/Linux: > > GENconfigmake.h > CC getopt1.o Why

Re: getopt broken

2009-09-26 Thread Sergey Poznyakoff
Eric Blake ha escrit: > Oh, I see. getopt in isolation passes, but getopt in combination with > argp causes the failure you are seeing. I guess it's because the argp > module wants to use lower-level hooks from getopt1.c than what getopt.h > normally exposes. Yes, that's it. Argp uses _getopt_

Re: getopt broken

2009-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Sergey Poznyakoff on 9/26/2009 3:52 PM: > Eric Blake ha escrit: > >> Oh, I see. getopt in isolation passes, but getopt in combination with >> argp causes the failure you are seeing. I guess it's because the argp >> module wants to use

Re: getopt broken

2009-09-26 Thread Sergey Poznyakoff
Eric Blake ha escrit: > Maybe the trick is to check whether _getopt_long_only_r is present to the > linker, in which case we can provide our own declaration of it Yes, but we cannot guarantee our declaration matches the actual function definition. Regards, Sergey

Re: getopt broken

2009-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Sergey Poznyakoff on 9/26/2009 4:04 PM: > Eric Blake ha escrit: > >> Maybe the trick is to check whether _getopt_long_only_r is present to the >> linker, in which case we can provide our own declaration of it > > Yes, but we cannot guar

Re: getopt broken

2009-09-26 Thread Sergey Poznyakoff
Eric Blake ha escrit: > But I doubt that interface has ever changed signature in glibc, and is not > available anywhere else. There are too many possibilities here. E.g. the function takes as its last argument a struct _getopt_data, which is declared in getopt_int.h This structure in libc may ha

Re: getopt broken

2009-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 9/26/2009 3:30 PM: >> Any ideas how to fix it? > > Sounds like we need to follow the pattern of other replacement headers, > and use #if @REPLACE_GETOPT@ rather than #ifdef __GETOPT_PREFIX > everywhere. I'll see what I can

Re: argp warnings

2009-09-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 5/8/2009 4:28 PM: > Eric Blake wrote: >> *** argp.11760 Fri May 8 08:56:27 2009 >> --- -Fri May 8 08:56:27 2009 >> *** >> *** 1,4 >> Usage: test-argp [-tvCSOlp?V] [-f FILE] [-o[ARG]] [--te

test-yesno.sh failure

2009-09-26 Thread Jim Meyering
Kurt Roeckx wrote: > Source: coreutils > Version: 7.5-1 ... >> Build-Depends: gettext (>= 0.10.37), debhelper, dh-buildinfo, texinfo (>= >> 4.2), groff, dpatch, libattr1-dev | not+linux-gnu, libacl1-dev | >> not+linux-gnu, libselinux1-dev (>= 1.32) | not+linux-gnu, gperf, bison > > [...] > >> Too