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 
 >&5
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.

--strk; 

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



_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to