diff options
author | phintuka <phintuka> | 2008-10-28 19:53:59 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-10-28 19:53:59 +0000 |
commit | e17e2c0abc11225ef28dcab1b52d073930519f3c (patch) | |
tree | 73e2dc4fa0a0c741687cbc10c6214cddc9caba5e | |
parent | 162423944953569e109c2c230dce776a97fa5bc3 (diff) | |
download | xineliboutput-e17e2c0abc11225ef28dcab1b52d073930519f3c.tar.gz xineliboutput-e17e2c0abc11225ef28dcab1b52d073930519f3c.tar.bz2 |
Fixed Xrandr header test
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. ) |