From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14334 invoked by alias); 3 Apr 2012 20:29:44 -0000 Received: (qmail 14297 invoked by uid 22791); 3 Apr 2012 20:29:41 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-bk0-f41.google.com (HELO mail-bk0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Apr 2012 20:29:27 +0000 Received: by bkwq16 with SMTP id q16so151892bkw.0 for ; Tue, 03 Apr 2012 13:29:25 -0700 (PDT) Received: by 10.204.154.28 with SMTP id m28mr5941379bkw.102.1333484965619; Tue, 03 Apr 2012 13:29:25 -0700 (PDT) Received: from [95.244.95.254] (host254-95-dynamic.244-95-r.retail.telecomitalia.it. [95.244.95.254]) by mx.google.com with ESMTPS id jr13sm48283953bkb.14.2012.04.03.13.29.24 (version=SSLv3 cipher=OTHER); Tue, 03 Apr 2012 13:29:25 -0700 (PDT) Message-ID: <4F7B5DA1.9000908@gmail.com> Date: Tue, 03 Apr 2012 20:29:00 -0000 From: Stefano Lattarini MIME-Version: 1.0 To: Ian Lance Taylor CC: Tom Tromey , ams@gnu.org, gcc@gcc.gnu.org, 11034@debbugs.gnu.org, gdb@sourceware.org, automake@gnu.org, binutils@sourceware.org, joseph@codesourcery.com, "automake-patches@gnu.org" , Roumen Petrov Subject: Re: bug#11034: Binutils, GDB, GCC and Automake's 'cygnus' option References: <4F72E239.9010404@gmail.com> <4F7301DD.7090401@gmail.com> <4F76C08E.6050707@gmail.com> <4F76D8F2.8050804__46768.5595191599$1333188914$gmane$org@gmail.com> <87zkaujjn1.fsf@fleche.redhat.com> <4F79BFDB.1070904@gmail.com> <87ty12i2pd.fsf@fleche.redhat.com> <4F79C5F2.2020807__46832.8654104427$1333380662$gmane$org@gmail.com> <87hax2hqop.fsf@fleche.redhat.com> <4F7A0341.9050305__49963.8538728051$1333396325$gmane$org@gmail.com> <87d37pj39j.fsf@fleche.redhat.com> <4F7A10D7.8050908@gmail.com> <4F7B57C4.9000402@gmail.com> <4F7B580F.2060007@gmail.com> In-Reply-To: <4F7B580F.2060007@gmail.com> Content-Type: multipart/mixed; boundary="------------010504070908080806030905" Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00032.txt.bz2 This is a multi-part message in MIME format. --------------010504070908080806030905 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 1328 On 04/03/2012 10:05 PM, Stefano Lattarini wrote: > On 04/03/2012 10:04 PM, Stefano Lattarini wrote: >> OK, you've all made clear you have your sensible reasons to have the '.info' >> files generated in the builddir in your use cases. Since the actual change >> required by automake to allow this is very small and safe, I'm ready to do >> it (see attached patch, which I will push in a couple of days to 'master' if >> there is no objection). >> >> But since I'm not yet ready to publish this new feature, I intend to make >> it available only though the new, undocumented option named (literally) >> "hack!info-in-builddir". I hope this is acceptable to you. >> On a second though, by double-checking the existing code, I couldn't see how the 'cygnus' option could possibly influence the location of the generated info files -- and it turned out it didn't! Despite what was documented in the manual, the 'cygnus' option did *not* cause the generated '.info' files to be placed in the builddir (see attached test case). This is true for at least for automake 1.9.6, 1.10.3, 1.11.1, 1.11.4, and automake built from the master branch (I've checked them all). Since nobody ever complained about such a breakage, I conclude that the feature was not truly needed, and I'm thus withdrawing my previous patch. Regards, Stefano --------------010504070908080806030905 Content-Type: text/plain; name="txinfo-cygnus-bug.test" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="txinfo-cygnus-bug.test" Content-length: 1224 #! /bin/sh # Copyright (C) 2012 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # The cygnus option do not really cause the '.info' files to be # generated in the builddir! required=makeinfo . ./defs || Exit 1 cat >> configure.ac < Makefile.am << 'END' AUTOMAKE_OPTIONS = cygnus -Wno-override info_TEXINFOS = foo.texi END cat > foo.texi << 'END' \input texinfo @setfilename foo.info @settitle foo @node Top Hello walls. @bye END $ACLOCAL $AUTOMAKE --add-missing $AUTOCONF mkdir build cd build ../configure $MAKE info ls -l . .. test -f foo.info test ! -f ../foo.info : --------------010504070908080806030905--