[GRASS-dev] odd configure error on MacOS X

Markus Neteler neteler at osgeo.org
Thu Aug 11 18:02:47 EDT 2011


On Sun, Jul 31, 2011 at 8:11 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> 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.

OK, backport done for 6.4 and 6.5.

Markus


More information about the grass-dev mailing list