GNOME Bugzilla – Bug 126401
configure script needed features
Last modified: 2009-08-15 18:40:50 UTC
xvideosink and ximagesink make use of #ifdef USE_SHM but configure.ac is not handling any test or define for that.. We need one or i will have to hardcode a #define USE_SHM Now that we will have 2 clean plugins for XImage and XV video sinks we should rework the configure script to get good conditional variables to build each of them with correct option. Actually X_LIBS contains -L/usr/X11R6/lib when it should contain -L/usr/X11R6/lib -X11 -lXext those missing are in XVIDEO_LIBS nowadays i guess and that's a bug. only -lXv should there.
test added for XShm.h, HAVE_XSHM is defined if it succeeds. Not completely sure about the other things - do you want to use something like XFREE_LIBS as the one providing linker flags for general X, then XVIDEO and XIMAGE having additional ones ? Right now we have LIBS and INCLUDES for each plugin dir separated, but I'm not sure I follow what you want, so let me know.
julien, reping
julien, pingalingaling
pong :) Could you please freshen up my memory ... What is the current detection mechanism for X support ?
Is this still an issue or can we close this now? Since its been left since august I am assuming its not an issue anymore :)
Marking as closed.