Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Tom Tromey'" <tromey@redhat.com>,
	        "'Joel Brobecker'" <brobecker@adacore.com>
Cc: "'Andreas Schwab'" <schwab@linux-m68k.org>, <gdb-patches@sourceware.org>
Subject: RE: Patch: FYI: use AC_HELP_STRING
Date: Wed, 22 Apr 2009 07:05:00 -0000	[thread overview]
Message-ID: <000901c9c318$a3bf3b60$eb3db220$@u-strasbg.fr> (raw)
In-Reply-To: <m3ws9dwjft.fsf@fleche.redhat.com>



> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Tom Tromey
> Envoyé : Wednesday, April 22, 2009 3:45 AM
> À : Joel Brobecker
> Cc : Andreas Schwab; gdb-patches@sourceware.org; muller@ics.u-
> strasbg.fr
> Objet : Re: Patch: FYI: use AC_HELP_STRING
> 
> >>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
> 
> >> * acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.
> >> * configure.ac: Use AS_HELP_STRING, not AC_HELP_STRING.
> 
> Joel> One thing we might want to do is add AC_HELP_STRING catches
> Joel> in the gdb ARI. I'm pretty sure I'll have forgotten about this
> Joel> within the next few days. Thoughts?
> 
> Yeah, good idea.  I'll do this soon, unless Pierre wants to jump on
> it.

  Why not, but currently only files with suffix ".l", ".y", ".h" and ".c"
are listed in gdb_find.sh, and that list 
is currently used by gdb_ari.sh.

  Will AC_HELP_STRING appear in one of these files?
Currently I see AC_HELP_STRING and AS_HELP_STRING
only in gdb/configure.ac file,
which means that gdb_ari.sh will not be useful.

  By the way:

$ grep -R -w AC_HELP_STRING *
ChangeLog:      * acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.
ChangeLog:      * configure.ac: Use AS_HELP_STRING, not AC_HELP_STRING.
ChangeLog:      * acinclude.m4 (AM_ICONV): Use AC_HELP_STRING.
ChangeLog:      * configure.ac: Use AC_HELP_STRING.  Use upper case for
variables
configure.ac:AC_HELP_STRING([--with-datarootdir], [use datarootdir as the
data root directory.]),
configure.ac:AC_HELP_STRING([--with-docdir], [install documentation in this
directory.]),
configure.ac:AC_HELP_STRING([--with-pdfdir], [install pdf in this
directory.]),
configure.ac:AC_HELP_STRING([--with-htmldir], [install html in this
directory.]),
doc/configure.ac:AC_HELP_STRING([--with-datarootdir], [use datarootdir as
the data root directory.]),
doc/configure.ac:AC_HELP_STRING([--with-docdir], [install documentation in
this directory.]),
doc/configure.ac:AC_HELP_STRING([--with-pdfdir], [install pdf in this
directory.]),
doc/configure.ac:AC_HELP_STRING([--with-htmldir], [install html in this
directory.]),

 
Tom, if you want to add this rule, you will need 
to add the list of files that should be parsed,
maybe also add something like
  is_configure_file similar to the is_yacc_or_lex
that I introduced recently, because otherwise
these files will probably give out a lot of 
wrong warnings.

  I tried adding configure.ac to the list and
got a total 182 rules broken by just this one file!

Pierre Muller



  reply	other threads:[~2009-04-22  7:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21 16:59 Tom Tromey
2009-04-21 17:08 ` Andreas Schwab
2009-04-21 18:08   ` Tom Tromey
2009-04-21 21:01     ` Andreas Schwab
2009-04-21 21:07       ` Tom Tromey
2009-04-22  0:18         ` Tom Tromey
2009-04-22  0:59           ` Joel Brobecker
2009-04-22  1:45             ` Tom Tromey
2009-04-22  7:05               ` Pierre Muller [this message]
2009-04-22 18:02                 ` Joel Brobecker
2009-04-22 21:45                   ` Pierre Muller
2009-04-22 22:42                     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000901c9c318$a3bf3b60$eb3db220$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@linux-m68k.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox