Re: [PATCH 2/5] New FAQ node: Debugging.

2009-10-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ralf Wildenhues on 10/8/2009 3:06 PM: > I thus propose this patch. Any objections? > > Thanks, > Ralf > > 2009-10-08 Bruno Haible > Ralf Wildenhues > > Recommend `sh -n' debugging, and public result variables for ma

Re: [PATCH 2/5] New FAQ node: Debugging.

2009-10-08 Thread Bruno Haible
Hi Ralf, > > * doc/autoconf.texi (Debugging): Recommend to use > > "bash -x -n configure". > > Thanks, I completely forgot about -n. What does -x help in conjuction > with -n though? A quick test showed me that with current bash, the '-x' is redundant here. But I've been using "bash -x

Re: [PATCH 2/5] New FAQ node: Debugging.

2009-10-08 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Sun, Oct 04, 2009 at 02:21:46PM CEST: > - I like Jim's recommendation to not "requiring users of your macro to > use the cache variables". What we see in many places in gnulib is that > a macro has a certain purpose/result, which can be stored in a variable >

Re: [PATCH 2/5] New FAQ node: Debugging.

2009-10-04 Thread Bruno Haible
Ralf, Thanks a *lot* for this patch series. Here are two proposed additions: - Mention the trick of running "bash -x -n configure" before even trying to execute the configure script. When the configure script has invalid shell syntax, this often has the same causes as when autoconf fails (b

Re: [PATCH 2/5] New FAQ node: Debugging.

2009-09-17 Thread Ralf Wildenhues
* Eric Blake wrote on Wed, Sep 16, 2009 at 06:13:35AM CEST: > According to Jim Meyering on 9/13/2009 1:36 PM: > > Ralf Wildenhues wrote: > > ... > >> +...@node Debugging > >> +...@section Debugging @command{configure} scripts > > > > Nice tips! > > I've proposed an addition to one of your lists >

Re: [PATCH 2/5] New FAQ node: Debugging.

2009-09-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 9/13/2009 1:36 PM: > Ralf Wildenhues wrote: > ... >> +...@node Debugging >> +...@section Debugging @command{configure} scripts > > Nice tips! > I've proposed an addition to one of your lists > and made a few very subjectiv

Re: [PATCH 2/5] New FAQ node: Debugging.

2009-09-13 Thread Jim Meyering
Ralf Wildenhues wrote: ... > +...@node Debugging > +...@section Debugging @command{configure} scripts Nice tips! I've proposed an addition to one of your lists and made a few very subjective style suggestions: > +While in general, @command{configure} scripts generated by Autoconf > +strive to be

[PATCH 2/5] New FAQ node: Debugging.

2009-09-13 Thread Ralf Wildenhues
* doc/autoconf.texi (Debugging): New node. (Top, FAQ): Adjust menus. Report by Bruno Haible. --- doc/autoconf.texi | 105 + 1 files changed, 105 insertions(+), 0 deletions(-) diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 5a425d7..124