----- Original message -----
> Hi,
> I was getting a missing symbol error when I tried to drag and drop. It
> turns out that back wasn't linked to libXext; the configure test
> AC_CHECK_LIB(Xext, main) was failing (silently). This is on Ubuntu 10.10.
> 
> I changed it to: (and did the same for Xt and Xmu)
> 
>     AC_CHECK_LIB(Xext, main)
>     if test "$HAVE_LIBXext" = no; then
>         PKG_CHECK_MODULES([XEXT], [xext])
>     fi
> 
> so it uses pkg-config if the AC_CHECK_LIB can't find the library. This
> fixed the problem for me, but I'm not sure if it's the right thing to do.
> 
> One thing is that according to the autoconf docs, PKG_CHECK_MODULES will
> cause a hard failure if it can't find the library. Are Xext, Xt, and Xmu
> hard dependencies of x11 back?

Hi, not sure what a hard failure is but can we use `pkg-config --exists x11 
xext` instead in that case?
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to