Re: small configure.in patch



Erwann Chenede <Erwann Chenede Sun COM> writes:

> Hi,
> 
> On solaris the math lib (-lm) is ommited causing a linker error
> (in gdk-pixbuf) removing the following line (see below) in 
> configure.in fixes the problem.
> 
> If this seems ok could someone commit ?
>
> Index: configure.in
> ===================================================================
> RCS file: /cvs/gnome/gtk+/configure.in,v
> retrieving revision 1.205
> diff -c -r1.205 configure.in
> *** configure.in	2001/04/17 23:21:16	1.205
> --- configure.in	2001/04/20 14:27:59
> ***************
> *** 254,260 ****
>        ),
>        AC_MSG_RESULT(none needed)
>   )
> - LIBS=$gtk_save_LIBS
>   
>   MATH_LIB=-lm
>   GTK_LIBS_EXTRA=
> --- 254,259 ----

I don't think this is quite right - in fact, the intent of the
GTK+ configure.in is that $(LIBS) is never used at all, since
we have all sorts of different libraries that might be needed.

What is the particular link error you are seeing? 

                                        Owen






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