gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] Re: agg.m4


From: strk
Subject: Re: [Gnash-dev] Re: agg.m4
Date: Tue, 10 Oct 2006 11:17:29 +0200

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;




reply via email to

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