aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-11-30 21:43:03 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-11-30 21:43:03 +0000
commit0a04566120548cdcb6695dedffc55cf967e422d3 (patch)
treedb932aa150adac4dab64b4675c154548d3a897ca
parentd52b4abe8b7d58b1680b5ae5fccfcbd50ad98ef0 (diff)
downloadffmpeg-0a04566120548cdcb6695dedffc55cf967e422d3.tar.gz
Check Xfixes.h header presence before enabling x11grab.
This fixes compilation when lib is present but not header. Originally committed as revision 20673 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 7f562e8805..bdb723af5d 100755
--- a/configure
+++ b/configure
@@ -2476,6 +2476,7 @@ enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack
enabled x11grab &&
check_header X11/Xlib.h &&
check_header X11/extensions/XShm.h &&
+check_header X11/extensions/Xfixes.h &&
check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes