summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-10-28 19:53:59 +0000
committerphintuka <phintuka>2008-10-28 19:53:59 +0000
commite17e2c0abc11225ef28dcab1b52d073930519f3c (patch)
tree73e2dc4fa0a0c741687cbc10c6214cddc9caba5e
parent162423944953569e109c2c230dce776a97fa5bc3 (diff)
downloadxineliboutput-e17e2c0abc11225ef28dcab1b52d073930519f3c.tar.gz
xineliboutput-e17e2c0abc11225ef28dcab1b52d073930519f3c.tar.bz2
Fixed Xrandr header test
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e0ab83b1..c799bac6 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'xineliboutput.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile,v 1.42 2008-10-28 10:47:52 phintuka Exp $
+# $Id: Makefile,v 1.43 2008-10-28 19:53:59 phintuka Exp $
#
# The official name of this plugin.
@@ -48,7 +48,7 @@ ifeq ($(XINELIBOUTPUT_XINEPLUGIN), 1)
else
$(warning XRender extension not detected ! HUD OSD disabled. )
endif
- ifeq ($(shell (((echo "\#include <X11/extensions/Xrandr.h>";echo "int main(int c,char* v[]) {return 0;}") > testx.c && gcc -c testx.c -o testx.o >/dev/null 2>&1) && echo "1") || echo "0" ; rm -f testx.* >/dev/null), 1)
+ ifeq ($(shell (((echo "\#include <X11/Xlib.h>";echo "\#include <X11/extensions/Xrandr.h>";echo "int main(int c,char* v[]) {return 0;}") > testx.c && gcc -c testx.c -o testx.o >/dev/null 2>&1) && echo "1") || echo "0" ; rm -f testx.* >/dev/null), 1)
HAVE_XRANDR = 1
else
$(warning XRandr extension not detected ! Video mode switching disabled. )