Re: an autoconf expert challenge

2007-01-24 Thread Bruno Haible
Jim Meyering wrote: > Yes, please do. Applied, together with the other change to m4/chdir-long.m4. Bruno

Re: an autoconf expert challenge

2007-01-24 Thread Ralf Wildenhues
Hello Jim, all, * Jim Meyering wrote on Wed, Jan 24, 2007 at 04:21:38PM CET: > > However, for a full solution, we need a mechanism > to keep such problems from being reintroduced. Not just that. The fact that issues are fixed in the gnulib test doesn't mean that all issues are fixed in, say, ge

Re: an autoconf expert challenge

2007-01-24 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Ralf Wildenhues wrote: >> # M4 code to put before or right after AC_INIT: >> m4_ifdef([_m4_require_call], >> [m4_rename([_m4_require_call], [_m4_require_call_orig])dnl >> m4_define([_m4_require_call], >> [m4_pushdef([AC_LIBOBJ], >> [m4_warning([AC_LIBOBJ

Re: an autoconf expert challenge

2007-01-24 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Paul Eggert wrote: >> > For the other 9 cases, invoking >> > instead of requiring the macro is the solution. >> >> Won't that bloat 'configure' and slow it down? > > For gl_GETOPT_SUBSTITUTE, configure's size will increase, yes. But this is > exactly how gl

Re: an autoconf expert challenge

2007-01-24 Thread Bruno Haible
Paul Eggert wrote: > > For the other 9 cases, invoking > > instead of requiring the macro is the solution. > > Won't that bloat 'configure' and slow it down? For gl_GETOPT_SUBSTITUTE, configure's size will increase, yes. But this is exactly how gl_ARGP is meant to override the autodetection of ge

Re: an autoconf expert challenge

2007-01-23 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > Here is a proposed patch that should fix all 11 problems. The dependencies > to gl_GETADDRINFO and gl_SAVE_CWD can be removed, since the module > dependencies > already ensure the macros get called. That sounds like a win. > For the other 9 cases, invo

Re: an autoconf expert challenge

2007-01-23 Thread Bruno Haible
Hello Ralf, > Dunno if the general issue is still relevant for gnulib. Yes, absolutely! Each of the 11 warnings that you found would be a problem for people who use 2 instances of gnulib from within the same configure file. (Simon's and my projects do this.) > > Does anyone know how to write an

Re: an autoconf expert challenge

2007-01-23 Thread Ralf Wildenhues
Hello Bruno, is an older message and I assume obsolete, now that the specific problem has been fixed in a different manner, but I just stumbled over it again with a solution in mind. Dunno if the general issue is still relevant for gnulib.

an autoconf expert challenge

2006-10-20 Thread Bruno Haible
Since gl_FUNC_ALLOCA may invoke AC_LIBOBJ, it must not be AC_REQUIREd - otherwise it won't work if you use it in two different gnulib libraries from the same configure.ac file. Does anyone know how to write an automatic check for this rule: that autoconf macros that directly or indirectly invoke A