On Mon, Oct 09, 2006 at 03:05:36PM -0600, Rob Savoye wrote: > strk wrote: > > 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++: > > I just checked in a fix for this by PUSHing C++ as the configure > language to use when running that test. It works here to correctly find > the C++ symbol in the library.
mmm.. no luck here, doesnt' recognize the forward declaration: configure:27958: checking for agg::gamma_ctrl_impl::calc_points in -lagg configure:27988: g++ -o conftest -g -O2 -Wall conftest.cc -lagg -lrt -lX11 -l Xi -lm >&5 conftest.cc:60: error: 'agg' has not been declared conftest.cc: In function 'int main()': conftest.cc:64: error: 'agg' has not been declared configure:27994: $? = 1 configure: failed program was: | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ 60 | char agg::gamma_ctrl_impl::calc_points (); | int | main () | { 64 | agg::gamma_ctrl_impl::calc_points (); | ; | return 0; | } --strk; _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev