[ghemical-devel] Autoconf Error

Jean Bréfort jean.brefort at normalesup.org
Tue Mar 7 06:02:10 EST 2006


Le mardi 07 mars 2006 à 12:44 +0200, Tommi Hassinen a écrit :
> On Tue, 7 Mar 2006, Jean Bréfort wrote:
> 
> > You might add (after aclocal):
> > libtoolize --force --copy
> > autoheader
> 
> Ok. Is there any way to detect if any of these commands (aclocal, 
> libtoolize, etc) fails or is missing from the system when the autogen.sh
> script runs?

I don't think it is really useful to check if things worked. Running
configure will probably tell. But if you really want, you can test the
result of a command with $?, or concatenate all operations with &&: if
one fails, the script will halt.

> I'll add these commands to the script(s) soon...
> 
> Regards,
> 
>  	Tommi



More information about the ghemical-devel mailing list