This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: autotools patches for --*dir and upcoming versions


Hi,

I'm far from what you'd call an autotools person, so I won't comment on
the actual changes you are proposing, just give some general information
on how I'd go about this.

First of all, thanks for your patch, of course.

GDB shares its source tree with other projects, and a number of the
directories it ships in its tarball are actually managed by those other
projects. So you'll have to talk to people in other mailing lists as
well, I'm afraid. For instance (I'm not even sure about some of them
myself):

Files in the root of the tarball I believe are responsibility of the GCC
project (also, you'd have to reflect your changes in the gcc build
system as well), and so are files under libdecnumber/. Files under bfd/
are from binutils, gdb/ and sim/ you can talk about them here, and files
under readline/ are from the readline project. I don't know about files
under intl/ and libiberty/. I'd guess either binutils or GCC...

Also, I'm sure everybody will ask a diff against a recent CVS (or svn)
version. But you can worry about that after discussing your proposed
changes, so that you don't have to do more work than necessary.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


El dom, 16-11-2008 a las 01:56 +0100, Daniel Mierswa escribiÃ:
> 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  <impulze@impulze.org>
>     * 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  <impulze@impulze.org>
>     * 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  <impulze@impulze.org>
>     * 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  <impulze@impulze.org>
>     * Makefile.in: don't redefine variables passed by configure, install
> html files
>     from subdirectories
> 
> gdb/gdbserver/ChangeLog:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * Makefile.in: don't redefine variables passed by configure
> 
> intl/ChangeLog:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * Makefile.in: touch datarootdir so autoconf is happy
> 
> libiberty/ChangeLog:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * configure.ac: remove unneeded AC_SUBST
> 
> sim/common/ChangeLog:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * aclocal.m4: use quoted definitions, autoconf cached variables
>     have to include cv in their name
> 
> sim/ChangeLog:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * configure.ac: use own directory for m4-macro searches
>     * Makefile.in: touch datarootdir so autoconf is happy
> 
> libdecnumber/ChangeLog:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * Makefile.in: touch datarootdir so autoconf is happy
> 
> readline/ChangeLog.gdb:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * 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  <impulze@impulze.org>
>     * Makefile.in: touch datarootdir so autoconf is happy
> 
> readline/examples/rlfe/ChangeLog:
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * configure.in: use quoted definitions
> 
> readline/shlib/ChangeLog.gdb: (couldn't find any)
> 2008-11-15  Daniel Mierswa  <impulze@impulze.org>
>     * Makefile.in: touch datarootdir so autoconf is happy




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]