Re: Heads up. Upgrading the autotools and expat versions

Richard Atterer <[email protected]>
Newsgroups gmane.comp.lib.libwww
Message-ID <[email protected]>
On Fri, Mar 21, 2003 at 01:08:35PM +0100, Jose Kahan wrote:
> If you're running under debian woody, you need to install the latest
> version of tools: automake1.5, autoconf2.50 (it's 2.53, btw). You'll
> have both the old and the new versions in your system. You need
> to use the new ones, of course. To do so, you need to type the version
> of the new one, e.g., autoheader2.50.

You could change the name of "configure.in" to "configure.ac", then the
Debian wrapper script for the auto* tools will default to calling the 2.5x
versions of the tools.

IMHO it'd also be nice if there were an "autogen.sh" file - the
bootstrapping instructions are a bit complex and it's hard to find them in
all the other documentation, whereas autogen.sh is pretty standard. 
Something as simple as the following script would do:

----------------------------------------------------------------------
#! /bin/sh -e
cmd() { echo "$@"; "$@"; }
cmd perl config/winConfigure.pl
cmd aclocal
cmd autoheader
cmd automake
cmd autoconf
----------------------------------------------------------------------

<mode="pedantic Debian developer">

Oh, and please don't forget to run "libtoolize -c -f" before making a 
release tarball, otherwise installing the latest, greatest libtool version 
will have little effect.

</mode> ;-)

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ '` ¯
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.