From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26403 invoked by alias); 28 Apr 2003 17:50:20 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 26385 invoked from network); 28 Apr 2003 17:50:19 -0000 Received: from unknown (HELO mms3.broadcom.com) (63.70.210.38) by sources.redhat.com with SMTP; 28 Apr 2003 17:50:19 -0000 Received: from 63.70.210.1 by mms3.broadcom.com with ESMTP (Broadcom SMTP Relay (MMS v5.5.2)); Mon, 28 Apr 2003 10:50:23 -0700 Received: from mail-sj1-5.sj.broadcom.com (mail-sj1-5.sj.broadcom.com [10.16.128.236]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id KAA29631; Mon, 28 Apr 2003 10:49:57 -0700 (PDT) Received: from dt-sj3-118.sj.broadcom.com (dt-sj3-118 [10.21.64.118]) by mail-sj1-5.sj.broadcom.com (8.12.9/8.12.9/SSF) with ESMTP id h3SHoDov016693; Mon, 28 Apr 2003 10:50:13 -0700 (PDT) Received: (from cgd@localhost) by dt-sj3-118.sj.broadcom.com ( 8.9.1/SJ8.9.1) id KAA03398; Mon, 28 Apr 2003 10:50:12 -0700 (PDT) To: binutils@sources.redhat.com, gcc@gcc.gnu.org, pfeifer@dbai.tuwien.ac.at Subject: problems re: makeinfo '--split-size' arg? From: cgd@broadcom.com Date: Mon, 28 Apr 2003 17:50:00 -0000 Message-ID: MIME-Version: 1.0 X-WSS-ID: 12B3B6552608572-01-01 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00578.txt.bz2 So, i just tried building the head of the recently-created binutils release branch (for target mips-elf, host x86-linux), and ran into: /path/.../makeinfo: unrecognized option `--split-size=5000000' My makeinfo has version: > makeinfo (GNU texinfo) 4.0 > > Copyright (C) 1999 Free Software Foundation, Inc. > There is NO warranty. You may redistribute this software > under the terms of the GNU General Public License. > For more information about these matters, see the files named COPYING. And the toplevel 'Makefile.tpl' says: # For an installed makeinfo, we require it to be from texinfo 4 or # higher, else we use the "missing" dummy. While I realize that i should probably be using a newer 'makeinfo', I cannot easily do so at this time. I suspect that the top-level Makefile should be modified so that it uses 'missing' instead of makeinfo if the --split-size option isn't supported. (Looks like it was added in rev 4.1 of the texinfo package.) I suspect that a diff like the one below is in order. I tried it, and it seems to DTRT for the version of makeinfo that i have (which is all i tried 8-). If approved, could somebody else please check it in for me? (I hacked it into my Makefile.in by hand to test it, but i don't have autogen and wouldn't want to check in an improperly-generated file, etc...) thanks, chris -- 2003-04-28 Chris Demetriou * Makefile.tpl (MAKEINFO): Require makeinfo 4.1 and later. * Makefile.in: Regenerate. Index: Makefile.tpl =================================================================== RCS file: /cvs/src/src/Makefile.tpl,v retrieving revision 1.56.4.1 diff -u -p -r1.56.4.1 Makefile.tpl --- Makefile.tpl 28 Apr 2003 02:25:36 -0000 1.56.4.1 +++ Makefile.tpl 28 Apr 2003 17:49:39 -0000 @@ -194,13 +194,13 @@ M4 = `if [ -f $$r/m4/m4 ] ; \ then echo $$r/m4/m4 ; \ else echo ${DEFAULT_M4} ; fi` -# For an installed makeinfo, we require it to be from texinfo 4 or +# For an installed makeinfo, we require it to be from texinfo 4.1 or # higher, else we use the "missing" dummy. MAKEINFO=@MAKEINFO@ USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \ then echo $$r/texinfo/makeinfo/makeinfo ; \ else if (makeinfo --version \ - | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \ + | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[1-9]|[5-9])') >/dev/null 2>&1; \ then echo makeinfo; else echo $$s/missing makeinfo; fi; fi` # This just becomes part of the MAKEINFO definition passed down to