From: Olivier Galibert <galibert@pobox.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Yann Dirson <ydirson@altern.org>,
Alex Riesen <raa.lkml@gmail.com>, Pavel Roskin <proski@gnu.org>,
git <git@vger.kernel.org>
Subject: Re: Autoconf/Automake
Date: Thu, 15 Jun 2006 19:48:33 +0200 [thread overview]
Message-ID: <20060615174833.GA32247@dspnet.fr.eu.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0606150954430.5498@g5.osdl.org>
On Thu, Jun 15, 2006 at 10:02:10AM -0700, Linus Torvalds wrote:
> These days, there aren't fifteen different versions of UNIX. There's a
> couple, and it's perfectly ok to actually say "fix your damn system and
> just install GNU make". It's easier to install GNU make than it is to
> install autoconf/automake.
You should be careful to separate autoconf and automake. Autoconf is
not so bad, and you can make clean, maintainable Makefile.in and
config.h.in files with it, because it uses simple substitution. It is
quite useful to detect available librairies when some are optional,
and also to lightly[1] ensure that prefix and friends will stay the
same between make and make install. Also, especially if you hack a
little bit to alias 'enable' and 'with', you get a sane interface to
optional feature selection. Oh, and to seperate compilation
directories too (vpath generation).
OTOH, automake is a BDSM session gone bad. The makefiles it generates
are atrocious and outdated, even buggy on some lesser makes, which is
quite annoying when what you try to build is gnu make.
The worst of the lot is libtool, though. That one explicitely tries
to make your experience as painful as possible. Including, but not
limited to, hiding the files in dot-directories so that you try to run
gdb on a script, relinking at install time, silently removing flags
you want to pass to ld or the compiler because it thinks it knows
better, locking C++ shared libraries to the exact compiler version
that compiled them through the .la file crap, etc.
So, autoconf can be useful. The rest should die.
OG.
[1] As in, you can still override when running make, but if you don't
override anything you'll get the value you passed to configure every
time.
next prev parent reply other threads:[~2006-06-15 17:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 22:27 Autoconf/Automake Pavel Roskin
2006-06-14 22:45 ` Autoconf/Automake Linus Torvalds
2006-06-14 22:54 ` Autoconf/Automake Bertrand Jacquin
2006-06-14 23:18 ` Autoconf/Automake Timo Hirvonen
2006-06-15 7:24 ` Autoconf/Automake Yann Dirson
2006-06-15 13:31 ` Autoconf/Automake Alex Riesen
2006-06-15 16:32 ` Autoconf/Automake Yann Dirson
2006-06-15 17:02 ` Autoconf/Automake Linus Torvalds
2006-06-15 17:48 ` Olivier Galibert [this message]
2006-06-15 18:03 ` Autoconf/Automake Jakub Narebski
2006-06-15 18:19 ` Autoconf/Automake Olivier Galibert
2006-06-16 18:23 ` Autoconf/Automake Petr Baudis
2006-06-16 9:06 ` Autoconf/Automake Jerome Lovy
2006-06-15 20:17 ` Autoconf/Automake Yakov Lerner
2006-06-15 21:14 ` Autoconf/Automake Yann Dirson
2006-06-15 22:54 ` Autoconf/Automake Linus Torvalds
2006-06-15 23:10 ` Autoconf/Automake Johannes Schindelin
2006-06-16 6:51 ` Autoconf/Automake Nikolai Weibull
2006-06-15 20:10 ` Autoconf/Automake Phil Richards
2006-06-15 20:32 ` Autoconf/Automake Timo Hirvonen
2006-06-15 20:42 ` Autoconf/Automake Johannes Schindelin
2006-06-15 22:05 ` Autoconf/Automake Yann Dirson
2006-06-15 22:58 ` Autoconf/Automake Johannes Schindelin
2006-06-16 20:17 ` Autoconf/Automake Yann Dirson
2006-06-16 20:42 ` Autoconf/Automake Petr Baudis
2006-06-16 18:31 ` Autoconf/Automake Petr Baudis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060615174833.GA32247@dspnet.fr.eu.org \
--to=galibert@pobox.com \
--cc=git@vger.kernel.org \
--cc=proski@gnu.org \
--cc=raa.lkml@gmail.com \
--cc=torvalds@osdl.org \
--cc=ydirson@altern.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).