From: Joel Brobecker <brobecker@adacore.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Pedro Alves <pedro@codesourcery.com>,
Andreas Schwab <schwab@linux-m68k.org>,
gdb-patches@sourceware.org, Ulrich Weigand <uweigand@de.ibm.com>,
eliz@gnu.org
Subject: Re: [patch] New test+use texinfo @click - @HAVE_MAKEINFO_CLICK@ [Re: doc build failure (Re: [patch 04/12] entryval#3: Virtual tail call frames)]
Date: Tue, 25 Oct 2011 14:35:00 -0000 [thread overview]
Message-ID: <20111025142647.GA12860@adacore.com> (raw)
In-Reply-To: <20111011233417.GA17487@host1.jankratochvil.net>
Hi Jan,
> gdb/
> 2011-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Fix compatibility with texinfo versions older than 4.12.
> * Makefile.in (MAKEINFO): Set to @MAKEINFO@.
> (MAKEINFOFLAGS, MAKEINFO_EXTRA_FLAGS, MAKEINFO_CMD): New.
> (MAKEHTMLFLAGS): Use MAKEINFO_CMD.
> (FLAGS_TO_PASS): Add MAKEINFOFLAGS and MAKEINFO_EXTRA_FLAGS.
> * configure: Regenerate.
> * configure.ac (MAKEINFO): Find it, from libiberty/configure.ac.
> (MAKEINFOFLAGS): Pre-set it to --split-size=5000000.
> (MAKEINFO_EXTRA_FLAGS): New test for -DHAVE_MAKEINFO_CLICK.
There is one bit that I don't understand:
> --- a/gdb/configure.ac
> +++ b/gdb/configure.ac
> @@ -87,6 +87,38 @@ PACKAGE=gdb
> AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ])
> AC_SUBST(PACKAGE)
>
> +# Do we have a single-tree copy of texinfo? Even if we do, we can't
> +# rely on it - libiberty is built before texinfo.
> +AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, )
> +if test "x$MAKEINFO" = "x"; then
> + AC_ERROR([makeinfo is required for compilation])
Why do we error out if makeinfo is not available? I think we should do
the same as other projects such as binutils where we display a warning
("makeinfo is missing, documentation will not be built"), and then
continue. We used to be able to build without requiring makeinfo, and
installing makeinfo on all machines on our network would be a real pain.
For us, we know how to work around the problem (configure with
MAKEINFO=true), but less experience users might not.
Let me know what you think, and I'll see if I can whip up a patch.
--
Joel
next prev parent reply other threads:[~2011-10-25 14:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-29 19:50 [patch 04/12] entryval#3: Virtual tail call frames Jan Kratochvil
2011-10-09 19:27 ` [commit] " Jan Kratochvil
2011-10-09 20:23 ` Jan Kratochvil
2011-10-10 13:40 ` doc build failure (Re: [patch 04/12] entryval#3: Virtual tail call frames) Ulrich Weigand
2011-10-10 13:54 ` Eli Zaretskii
2011-10-10 13:58 ` Ulrich Weigand
2011-10-10 14:58 ` [patch] New test+use texinfo @click - @HAVE_MAKEINFO_CLICK@ [Re: doc build failure (Re: [patch 04/12] entryval#3: Virtual tail call frames)] Jan Kratochvil
2011-10-10 15:16 ` Pedro Alves
2011-10-10 15:31 ` Jan Kratochvil
2011-10-10 15:51 ` Pedro Alves
2011-10-10 18:47 ` Jan Kratochvil
2011-10-10 19:11 ` Eli Zaretskii
2011-10-10 21:56 ` Pedro Alves
2011-10-10 22:19 ` Andreas Schwab
2011-10-11 23:34 ` Jan Kratochvil
2011-10-12 15:26 ` Pedro Alves
2011-10-12 15:56 ` Jan Kratochvil
2011-10-25 14:35 ` Joel Brobecker [this message]
2011-10-25 14:47 ` Jan Kratochvil
2011-10-25 16:09 ` Joel Brobecker
2011-10-10 16:10 ` Eli Zaretskii
2011-10-10 16:15 ` Jan Kratochvil
2011-10-10 16:09 ` Eli Zaretskii
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=20111025142647.GA12860@adacore.com \
--to=brobecker@adacore.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=pedro@codesourcery.com \
--cc=schwab@linux-m68k.org \
--cc=uweigand@de.ibm.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