GNOME Bugzilla – Bug 325545
Please check for -lX11 in AC_PATH_XTRA
Last modified: 2007-09-14 16:37:39 UTC
Hi, I don't know what distribution is used to "make dist" gstreamer modules, but it would be nice if the resulting configure script would test for -lX11 instead of -lXt. Debian has a patch to make AC_PATH_XTRA more sane and check for -lX11 instead of -lXt: autoconf (2.59a-4) unstable; urgency=low * AC_PATH_X now checks for X11/Xlib.h and XrmInitialize (X proper) rather than X11/Intrinsic.h and XtMalloc (Xt). Thanks to Kurt Roeckx, Thomas Dickey, and Paul Eggert. Closes: #327655. (See http://bugs.debian.org/327655.) This is now in autoconf CVS: http://cvs.savannah.gnu.org/viewcvs/autoconf/lib/autoconf/libs.m4?root=autoconf&view=log I don't know if there's an easy way to override AC_PATH_XTRA/AC_PATH_X locally on the system where gstreamer is make disted. With the patch, you can also explicitely pass parameters to AC_PATH_X and AC_PATH_XTRA to check for specific X11 libs and functions. Cheers,
hm, it seems a minor issue that preferably I would just wait for newer autoconfs to do the right thing, instead of adding lots of copied macros and forgetting to remove them later on. Can you tell me what goes wrong without this patch ?
Without the patch GStreamer's configure requires and tests for the presence of libxt, even if it doesn't use it, and it doesn't check for libX11, even if this lib is needed. This is marked as enhancement, and you can decide to wait for the next autoconf release instead of patching. You can also run Debian. :-P
This seems to be somewhat fixed now, the latest releases done by Jan use autoconf > 2.60 and thus have the correct AC_PATH_XTRA.