From: Andreas Schwab <schwab@linux-m68k.org>
To: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Cc: pertusus@free.fr, Karl Berry <karl@freefriends.org>,
Paul Eggert <eggert@cs.ucla.edu>,
EMACS devel list <emacs-devel@gnu.org>
Subject: Re: Patch to allow texi2any for EMACS manual compilation
Date: Mon, 22 Sep 2014 20:59:48 +0200 [thread overview]
Message-ID: <87vbofbhwb.fsf@igel.home> (raw)
In-Reply-To: <80tx3zecj9.fsf@gmail.com> ("Vincent Belaïche"'s message of "Mon, 22 Sep 2014 20:27:22 +0200")
Vincent Belaïche <vincent.b.1@hotmail.fr> writes:
> === modified file 'configure.ac'
> --- configure.ac 2014-09-15 00:20:21 +0000
> +++ configure.ac 2014-09-22 17:36:48 +0000
> @@ -1099,16 +1099,25 @@
>
> ## Need makeinfo >= 4.7 (?) to build the manuals.
> if test "$MAKEINFO" != "no"; then
> - if test "$MAKEINFO" = "${am_missing_run}makeinfo"; then
> - MAKEINFO=makeinfo
> + for MAKEINFO_IMPLEMENTATION in makeinfo texi2any; do
> + if test "$MAKEINFO" = "${am_missing_run}${MAKEINFO_IMPLEMENTATION}"; then
> + MAKEINFO=${MAKEINFO_IMPLEMENTATION}
> + fi
> + done
> + MAKEINFO_VERSION=`($MAKEINFO --version) 2>/dev/null`;
> + MAKEINFO_CHECK=no;
> + for MAKEINFO_IMPLEMENTATION in makeinfo texi2any; do
> + case $MAKEINFO_VERSION in
> + "$MAKEINFO_IMPLEMENTATION (GNU texinfo) "4.[7-9]* | \
> + "$MAKEINFO_IMPLEMENTATION (GNU texinfo) "4.[1-9][0-9]* | \
> + "$MAKEINFO_IMPLEMENTATION (GNU texinfo) "[5-9]* | \
> + "$MAKEINFO_IMPLEMENTATION (GNU texinfo) "[1-9][0-9]* )
> + MAKEINFO_CHECK=yes;;
> + esac
> + done
> + if [ $MAKEINFO_CHECK != yes ]; then
> + MAKEINFO=no;
> fi
> - case `($MAKEINFO --version) 2>/dev/null` in
> - 'makeinfo (GNU texinfo) '4.[[7-9]]* | \
> - 'makeinfo (GNU texinfo) '4.[[1-9][0-9]]* | \
> - 'makeinfo (GNU texinfo) '[[5-9]]* | \
> - 'makeinfo (GNU texinfo) '[[1-9][0-9]]* ) ;;
Why can't you just replace it with a wildcard? What's the point in
matching the exact program name?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2014-09-22 18:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-22 18:27 Patch to allow texi2any for EMACS manual compilation Vincent Belaïche
2014-09-22 18:59 ` Andreas Schwab [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-09-25 6:17 Vincent Belaïche
2014-09-25 4:45 Vincent Belaïche
2014-09-23 20:54 Vincent Belaïche
2014-09-23 22:39 ` Glenn Morris
2014-09-25 3:05 ` Paul Eggert
2014-09-25 4:19 ` Vincent Belaïche
2014-09-25 4:33 ` Vincent Belaïche
2014-09-21 20:48 Vincent Belaïche
2014-09-21 21:03 ` Karl Berry
2014-09-21 21:18 ` Paul Eggert
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=87vbofbhwb.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=karl@freefriends.org \
--cc=pertusus@free.fr \
--cc=vincent.b.1@hotmail.fr \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.