unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Denis Bueno" <dbueno@gmail.com>
To: "Thien-Thi Nguyen" <ttn@gnuvola.org>
Cc: rgm@gnu.org, Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: CVS HEAD: configure: error: makeinfo >= 4.6 is required on Mac OS X
Date: Sat, 15 Sep 2007 09:57:49 -0400	[thread overview]
Message-ID: <6dbd4d000709150657y153c71basdbdfcd48a4896f7e@mail.gmail.com> (raw)
In-Reply-To: <87hclxt4pd.fsf@ambire.localdomain>

On 9/14/07, Thien-Thi Nguyen <ttn@gnuvola.org> wrote:
> ok, here's a revised sketch:
>
> + echo @documentencoding ISO-8859-1 > conftest.texi
> + echo @indent >> conftest.texi
> + if test "$MAKEINFO" != "no" ; then
> +    if $MAKEINFO --enable-encoding conftest.texi >dev/null 2>&1
> +       then :
> +       else MAKEINFO=no
> +    fi
> + fi
> + rm -f conftest.texi conftest.info

For what it's worth, I did what you suggested [1] and it still doesn't
work.  But if I manually run `makeinfo --enable-encoding conftest.texi
&& echo hi`, "hi" is produced as output, so I'm confused.

Any other suggestions?

-- 
                              Denis

Index: configure.in
===================================================================
RCS file: /sources/emacs/emacs/configure.in,v
retrieving revision 1.474
diff -u -r1.474 configure.in
--- configure.in	12 Sep 2007 07:03:30 -0000	1.474
+++ configure.in	15 Sep 2007 13:30:30 -0000
@@ -1346,10 +1346,15 @@
 AC_PATH_PROG(MAKEINFO, makeinfo, no)
 dnl By this stage, configure has already checked for egrep and set EGREP,
 dnl or exited with an error if no egrep was found.
-if test "$MAKEINFO" != "no" && \
-  test x"`$MAKEINFO --version 2> /dev/null | $EGREP
'texinfo[[^0-9]]*([[5-9]]|4\.[[6-9]])'`" = x; then
-   MAKEINFO=no
+echo @documentencoding ISO-8859-1 > conftest.texi
+echo @indent >> conftest.texi
+if test "$MAKEINFO" != "no" ; then
+  if $MAKEINFO --enable-encoding conftest.texi >/dev/null 2>&1
+    then :
+    else MAKEINFO=no
+  fi
 fi
+rm -f conftest.texi conftest.info

 if test "$MAKEINFO" = "no"; then
   AC_MSG_ERROR( [makeinfo >= 4.6 is required] )

  reply	other threads:[~2007-09-15 13:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14 16:37 CVS HEAD: configure: error: makeinfo >= 4.6 is required on Mac OS X Denis Bueno
2007-09-14 17:25 ` Glenn Morris
2007-09-14 17:57   ` Thien-Thi Nguyen
2007-09-14 19:00     ` Eli Zaretskii
2007-09-14 19:41       ` Thien-Thi Nguyen
2007-09-15 13:57         ` Denis Bueno [this message]
2007-09-15 18:22           ` Thien-Thi Nguyen
2007-09-15 19:52             ` Denis Bueno
2007-09-15 19:46         ` Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=6dbd4d000709150657y153c71basdbdfcd48a4896f7e@mail.gmail.com \
    --to=dbueno@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    --cc=ttn@gnuvola.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).