From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21968 invoked by alias); 16 Nov 2008 01:35:36 -0000 Received: (qmail 21906 invoked by uid 22791); 16 Nov 2008 01:35:35 -0000 X-Spam-Check-By: sourceware.org Received: from eta-ori.net (HELO orion.eta-ori.net) (91.121.142.51) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 16 Nov 2008 01:34:39 +0000 Received: by orion.eta-ori.net (Postfix, from userid 1006) id 8EE8423EE87; Sun, 16 Nov 2008 02:34:35 +0100 (CET) Received: from [IPv6:2001:6f8:10ae:0:217:31ff:fe81:8c8] (unknown [IPv6:2001:6f8:10ae:0:217:31ff:fe81:8c8]) by orion.eta-ori.net (Postfix) with ESMTPSA id 39DFD23EE7D for ; Sun, 16 Nov 2008 02:34:33 +0100 (CET) Message-ID: <491F6F28.3010409@impulze.org> Date: Sun, 16 Nov 2008 17:37:00 -0000 From: Daniel Mierswa User-Agent: Thunderbird 2.0.0.17 (X11/20081026) MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: autotools patches for --*dir and upcoming versions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00406.txt.bz2 Hi there I created a patch to let the --{dataroot,doc,pdf,html}dir to be passed through configure instead of using the self written --with-*dir. The patch also fixes some warnings spilled out by newer autotools regarding ordering of AC_ macros and unquoted definitions. The patch was created against the official 6.8 tarball. Tested by invoking the usual, autoreconf procedures, followed by ./configure with --docdir=/something and invoking make install-html at the very end. I'd like to hear your opinion. The ChangeLog entries would be as follows: ChangeLog: (couldn't find any) 2008-11-15 Daniel Mierswa * configure.ac: use config directory for m4-macro searches, provide AC_PROG_LIBTOOL, so ltmain.sh and others get updated by autoreconf, remove self-written --with-{dataroot,doc,pdf,html}dir switches and let the ones created by autoconf pass through, remove unneeded AC_SUBST bfd/ChangeLog: 2008-11-15 Daniel Mierswa * configure.in: AC_GNU_SOURCE must occur before AC_PROG_CC, use own directory for m4-macro searches, remove unneeded AC_SUBST gdb/ChangeLog: 2008-11-15 Daniel Mierswa * configure.ac: AC_{GNU_SOURCE,AIX} are both present in AC_USE_SYSTEM_EXTENSIONS (must occur before AC_PROG_CC) * acinclude.m4: serial has to appear before any macro definition * Makefile.in: touch datarootdir so autoconf is happy, don't redefine variables passed by configure gdb/doc/ChangeLog: 2008-11-15 Daniel Mierswa * Makefile.in: don't redefine variables passed by configure, install html files from subdirectories gdb/gdbserver/ChangeLog: 2008-11-15 Daniel Mierswa * Makefile.in: don't redefine variables passed by configure intl/ChangeLog: 2008-11-15 Daniel Mierswa * Makefile.in: touch datarootdir so autoconf is happy libiberty/ChangeLog: 2008-11-15 Daniel Mierswa * configure.ac: remove unneeded AC_SUBST sim/common/ChangeLog: 2008-11-15 Daniel Mierswa * aclocal.m4: use quoted definitions, autoconf cached variables have to include cv in their name sim/ChangeLog: 2008-11-15 Daniel Mierswa * configure.ac: use own directory for m4-macro searches * Makefile.in: touch datarootdir so autoconf is happy libdecnumber/ChangeLog: 2008-11-15 Daniel Mierswa * Makefile.in: touch datarootdir so autoconf is happy readline/ChangeLog.gdb: 2008-11-15 Daniel Mierswa * Makefile.in: touch datarootdir so autoconf is happy, create empty install-html target so make install-html from top-level won't fail readline/doc/ChangeLog.gdb: 2008-11-15 Daniel Mierswa * Makefile.in: touch datarootdir so autoconf is happy readline/examples/rlfe/ChangeLog: 2008-11-15 Daniel Mierswa * configure.in: use quoted definitions readline/shlib/ChangeLog.gdb: (couldn't find any) 2008-11-15 Daniel Mierswa * Makefile.in: touch datarootdir so autoconf is happy -- Mierswa, Daniel If you still don't like it, that's ok: that's why I'm boss. I simply know better than you do. --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22