Re: [ANNOUNCE] util-linux-ng 2.13-rc1



Joel Becker wrote:
On Fri, Jul 06, 2007 at 11:01:07AM +0200, Gerd Hoffmann wrote:
And the 10% where it doesn't work it is a real pain to figure what goes
wrong due to the completely unreadable Makefiles generated by autotools.
After all they are not Makefiles, they are shellscripts embedded into
Makefiles.

Do not mistake the use of autoconf with automake. automake
generates the unreadable Makefiles. You can quite easily create a
useful Makefile yourself and use autoconf to select installation
locations, detect features of older/newer libcs, etc.

Sure. I have some projects using autoconf only. 90% of the projects
use both though, autoconf-only is quite rare these days (used to be
different because autoconf was the first ...).

And if you think that all packages should Just Work on all
Linuxen, with out any build-time detection, try determining the
differing udev layouts of FC6, FC7, Debian, Ubuntu, SuSE9, SuSE10, etc.

s/build/run/ time check IMHO. Otherwise things blow up if the user
upgrades fc6 to 7 ...

Or where manpages go.

/usr/share/man everythere, since years. Maybe except Debian because
they first discuss 5 years how to handle that ;)

What about
futexes? Older systems don't have them. Gotta detect that.

Sure, there are some things left you might want to check for even for
linux-only projects. If it is only whenever some library is installed.
autoconf will do that, sure. It's still quite some overkill in many
cases IMHO. On smaller projects the configure script can easily take
more than 80% of the tarball size ...

cheers,
Gerd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: C Programming
    ... recommend changing the autoconf input files and ... the sources) or build on another platform. ... apart Makefiles for things like Ghostscript to build them with Norcroft, ... intermediate tools built by Linux for RISC OS wouldn't then run on Linux. ...
    (comp.sys.acorn.programmer)
  • Re: PATCH [0/3]: Simplify the kernel build by removing perl.
    ... And from makefiles for that matter. ... I agree that Autoconf sucks (I've written enough sucking Autoconf ... the long stretches checking for the existence of header files ... let alone compiling for different OS ...
    (Linux-Kernel)
  • Re: [ANNOUNCE] util-linux-ng 2.13-rc1
    ... wrong due to the completely unreadable Makefiles generated by autotools. ... Do not mistake the use of autoconf with automake. ...
    (Linux-Kernel)
  • Re: SGIs make strips -LANG:std from the link line??
    ... > I'm trying to use autoconf to generate makefiles for a combination C, ... > The problem is that using autoconf's 'CXXFLAGS' variable to pass ... / \__/ \ HPC and Engineering: ...
    (comp.sys.sgi.misc)
  • Re: SGIs make strips -LANG:std from the link line??
    ... >>I'm trying to use autoconf to generate makefiles for a combination C, ... autoconf is using GNU sed features to substitute the values. ... Everything that gets sent off to any non-GNU platforms (we're ...
    (comp.sys.sgi.misc)