[cairo] Make check on OS/2 revisited

Behdad Esfahbod behdad at behdad.org
Mon Apr 9 09:46:21 PDT 2007


On Mon, 2007-04-09 at 12:38 -0400, Dave Yeo wrote:
> So I've solved the problem of make check failing on OS/2. Seems to be
> the EXTRA_PROGRAMS declaration in test/Makefile.am. Changing it to
> check_PROGRAMS like so
> 
> --- Makefile.am.orig    Fri Mar  2 21:04:02 2007
> +++ Makefile.am Mon Apr  9 09:33:18 2007
> @@ -481,7 +481,7 @@
>  svg2png_LDADD  = $(LDADD) $(LIBRSVG_LIBS)
>  endif
> 
> -EXTRA_PROGRAMS = $(TESTS) $(SUPPORT_PROGS)
> +check_PROGRAMS = $(TESTS) $(SUPPORT_PROGS)

There is a delicate reason for not using check_PROGRAMS here.  If this
patch fixes your issues, it's definitely an automake bug.  Please poke
them.

>  # Do a funny transition of CAIRO_TEST_TARGET through TARGETS such that
>  # one can limit tested targets both through CAIRO_TEST_TARGET env var
> 
> Fixes the compile problems. Still need to fix the enviroment so the DLL
> is found.
> Dave

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list