From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Denis Bueno" Newsgroups: gmane.emacs.devel Subject: Re: CVS HEAD: configure: error: makeinfo >= 4.6 is required on Mac OS X Date: Sat, 15 Sep 2007 09:57:49 -0400 Message-ID: <6dbd4d000709150657y153c71basdbdfcd48a4896f7e@mail.gmail.com> References: <6dbd4d000709140937o5785b899wa7b4ff58d603bd87@mail.gmail.com> <87r6l1t9i2.fsf@ambire.localdomain> <87hclxt4pd.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189864684 14157 80.91.229.12 (15 Sep 2007 13:58:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2007 13:58:04 +0000 (UTC) Cc: rgm@gnu.org, Eli Zaretskii , emacs-devel@gnu.org To: "Thien-Thi Nguyen" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 15 15:57:59 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IWY9m-0004If-Lv for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2007 15:57:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWY9l-000384-Kh for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2007 09:57:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IWY9g-00032R-Pw for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:57:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IWY9f-0002yD-0b for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:57:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWY9e-0002xo-T9 for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:57:50 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.228]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IWY9e-0004AR-Ez for emacs-devel@gnu.org; Sat, 15 Sep 2007 09:57:50 -0400 Original-Received: by wx-out-0506.google.com with SMTP id s7so1023383wxc for ; Sat, 15 Sep 2007 06:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=qIwQtQ+HztT6WJ97rNZoz48sdHLw/Lwk8Mnp5tS4sEU=; b=GB4UYDRbVQqCgYIwqoVafm7q6PbqOzD5vmYo5/gEdN0n8yuqeMW2tp7VFdxl9Y1jBsoGQrFVncGQNVRQV9MN+tYQ5E79sOBxhCT2eCoKApJISWAMSYkRds5ccmgNtV0xE6FDGjA+xbW94rNV+SC4zMj9RRY/51unV5NlSp+5UKA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dvH+7Xk05BNgQaST0FEbDWjS1nMFmAyho3mD7GKFKLKrjCzmsrxKc8YKuu1z82xK27CcWith8PXv+oruVgJ+eRlbO+7fF9Q5dv0AYjT+zBBN1/J9pP0ddgBAGUegdOqLrD6fXEzprvrKRBTVl8cjynHFOn/Ww6QoGF+m+bFUtIM= Original-Received: by 10.90.89.5 with SMTP id m5mr1093677agb.1189864669370; Sat, 15 Sep 2007 06:57:49 -0700 (PDT) Original-Received: by 10.90.101.16 with HTTP; Sat, 15 Sep 2007 06:57:49 -0700 (PDT) In-Reply-To: <87hclxt4pd.fsf@ambire.localdomain> Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78967 Archived-At: On 9/14/07, Thien-Thi Nguyen 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] )