Re: Autoconf/Automake

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jerome Lovy
Date: Friday, June 16, 2006 - 2:06 am

Olivier Galibert wrote:

I fully agree with Olivier. It seems to me that you don't have to buy 
the whole autoconf/automake/libtool stack to leverage the autoconf 
functionality. autoconf alone provides the full "autoconfiguration" 
framework (running scriptlets and setting substitution variables 
accordingly). You still have to write Makefile.in (with statements 
looking like: CC=@CC@). Therefore the resulting Makefile is just as 
beautiful or as ugly as you wrote the initial Makefile.in: you have full 
control over it.

As for dependencies, one shouldn't confuse what is needed on the 
autoconfiguration developer's side (in order to build the configure 
script from the configure.in file) and what is needed on the installer's 
side to run the configure script and process the generated makefile. The 
former needs the autoconf package which itself relies on GNU m4. The 
latter merely needs a decently compatible Bourne shell and a decently 
compatible make.

On the other hand, what you get with automake is a fully automatically 
generated makefile, with make targets conforming to the GNU standards. 
But then you fully loose control over the Makefile: you don't write the 
Makefile.in anymore (automake does it for you) but rather the terce 
Makefile.am. In this respect, automake is like imake: you write few 
lines of (i)makefile, but then you cannot complain if you don't 
understand what comes in the generated makefile ;-) .

J
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Autoconf/Automake, Pavel Roskin, (Wed Jun 14, 3:27 pm)
Re: Autoconf/Automake, Linus Torvalds, (Wed Jun 14, 3:45 pm)
Re: Autoconf/Automake, Bertrand Jacquin, (Wed Jun 14, 3:54 pm)
Re: Autoconf/Automake, Timo Hirvonen, (Wed Jun 14, 4:18 pm)
Re: Autoconf/Automake, Yann Dirson, (Thu Jun 15, 12:24 am)
Re: Autoconf/Automake, Alex Riesen, (Thu Jun 15, 6:31 am)
Re: Autoconf/Automake, Yann Dirson, (Thu Jun 15, 9:32 am)
Re: Autoconf/Automake, Linus Torvalds, (Thu Jun 15, 10:02 am)
Re: Autoconf/Automake, Olivier Galibert, (Thu Jun 15, 10:48 am)
Re: Autoconf/Automake, Phil Richards, (Thu Jun 15, 1:10 pm)
Re: Autoconf/Automake, Yakov Lerner, (Thu Jun 15, 1:17 pm)
Re: Autoconf/Automake, Timo Hirvonen, (Thu Jun 15, 1:32 pm)
Re: Autoconf/Automake, Johannes Schindelin, (Thu Jun 15, 1:42 pm)
Re: Autoconf/Automake, Yann Dirson, (Thu Jun 15, 2:14 pm)
Re: Autoconf/Automake, Yann Dirson, (Thu Jun 15, 3:05 pm)
Re: Autoconf/Automake, Linus Torvalds, (Thu Jun 15, 3:54 pm)
Re: Autoconf/Automake, Johannes Schindelin, (Thu Jun 15, 3:58 pm)
Re: Autoconf/Automake, Johannes Schindelin, (Thu Jun 15, 4:10 pm)
Re: Autoconf/Automake, Nikolai Weibull, (Thu Jun 15, 11:51 pm)
Re: Autoconf/Automake, Jerome Lovy, (Fri Jun 16, 2:06 am)
Re: Autoconf/Automake, Petr Baudis, (Fri Jun 16, 11:31 am)
Re: Autoconf/Automake, Yann Dirson, (Fri Jun 16, 1:17 pm)
Re: Autoconf/Automake, Petr Baudis, (Fri Jun 16, 1:42 pm)