[GRASSLIST:7224] Re: Compile Errors continue in 6.0.0

Glynn Clements glynn at gclements.plus.com
Sat Jun 18 04:16:26 EDT 2005


Hamish wrote:

> > tried that. Tried ./configure --without-fftw AND --without-gdal (or
> > with-gdal=no...interesting enough, either of the disable gdal syntaxes
> > still bombs with "Can't find GDAL")
> 
> GDAL is not optional in GRASS 6. --without-gdal should be removed but
> --with-gdal=where/it/is must stay.

autoconf-generated configure scripts automatically accept
--without-foo as an alias for --with-foo=no.

However, the error message could be clarified, e.g.

	if test "$with_gdal" = "no" ; then
	  AC_MSG_ERROR(GDAL is a non-optional dependency)
	else

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list