[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] agg.m4

From: strk
Subject: [Gnash-dev] agg.m4
Date: Mon, 9 Oct 2006 22:56:47 +0200

It seems that the current use of AC_CHECK_LIB in agg.m4 is broken.
We can't use agg::function checks as the compiler used to build
is gcc, not g++:

configure:27877: checking for agg::gamma_ctrl_impl::calc_points in -lagg
configure:27907: gcc -o conftest -g -O2   conftest.c -lagg  -lrt -lX11 -lXi -lm 
conftest.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
':' token
conftest.c: In function 'main':
conftest.c:67: error: expected expression before ':' token

BTW, we'd also need to check for a *templated* function, which would be
even worst (compile-time check).

The latter is agg::render_scanlines_compound_layered, based on its
availability we should set a define to tell us wheter we need
the compatibility header for agg.


 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]