[GRASS-dev] odd configure error on MacOS X

Glynn Clements glynn at gclements.plus.com
Sun Jul 31 14:11:07 EDT 2011


Markus Neteler wrote:

> An observation:
> grass70/configure.in" line 1632
> [CAIRO_HAS_XRENDER_SURFACE=1],[CAIRO_HAS_XRENDER_SURFACE=])
> AC_SUBST(CAIRO_HAS_XRENDER)
> LOC_CHECK_FUNC(cairo_xlib_surface_get_xrender_format,,,,,$CAIROLIB,
> [CAIRO_HAS_XRENDER_SURFACE=1],[CAIRO_HAS_XRENDER_SURFACE=])
> 
> while
> grass64/configure.in" line 1670
> [CAIRO_HAS_XRENDER=1],[CAIRO_HAS_XRENDER=0])
> AC_SUBST(CAIRO_HAS_XRENDER)
> 
> -> note the =0 in 6.4 while in 7 there is only = for the 0 case.
> 
> This looks inconsistent to me.

This is only used for g.cairocomp, which isn't in 6.x. Makefile
variables are normally empty/non-empty rather than 0/1.

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


More information about the grass-dev mailing list