Re: [AD] bug report: allegro-4.1.6: static libraries linked into shared library

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, Dec 11, 2002 at 12:22:49PM +0100, Eric Botcazou wrote:
> > When building against XF-4.2.0, the dga and vm extension libraries
> > are found (rightly so); on NetBSD, we only build static libraries for them,
> > though, and these are then linked into the shared library, which does
> > not work on at least macppc (but I guess other platforms/opsys too).
> 
> Do you know of any reliable way of detecting that at configure-time ?

If you can easily find out where exactly the library is, test for
libXxf86dga.so's existence.
Another approach is to look for the values of SharedLibXxf86vm and
SharedLibXxf86dga in ${X11PREFIX}/lib/X11/config/X11.tmpl -- on NetBSD
this is NO (NormalLib* is YES).

Our local XFree86 guru tells me that we don't have the shared library
since the XFree86 people don't consider the API stable.

Hope this helps,
 Thomas

-- 
Thomas Klausner - wiz@xxxxxxxxxx
What is wanted is not the will to believe, but the will to find
out, which is the exact opposite. -- Bertrand Russell



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/