emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS HEAD: configure: error: makeinfo >= 4.6 is required on Mac OS X


From: Denis Bueno
Subject: Re: CVS HEAD: configure: error: makeinfo >= 4.6 is required on Mac OS X
Date: Sat, 15 Sep 2007 09:57:49 -0400

On 9/14/07, Thien-Thi Nguyen <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]