[MPlayer-dev-eng] [PATCH] Properly use -lXext -lX11 with --enable-x11
Jeremy Huddleston
jeremyhu at macports.org
Thu Apr 23 11:35:29 CEST 2009
As it is right now, -lXext -lX11 is only appended if _x11 is "auto".
Setting it to "yes" with --enable-x11 causes the build to fail due to
the missing flags.
--- configure.orig 2009-04-12 10:07:30.000000000 -0700
+++ configure 2009-04-22 22:53:09.000000000 -0700
@@ -4196,6 +4196,9 @@ echores "$_x11_headers"
echocheck "X11"
+if test "$_x11" = yes ; then
+ libs_mplayer="$libs_mplayer -lXext -lX11"
+fi
if test "$_x11" = auto && test "$_x11_headers" = yes ; then
cat > $TMPC <<EOF
#include <X11/Xlib.h>
More information about the MPlayer-dev-eng
mailing list