On 3/21/12 4:23 AM, Måns Rullgård wrote:
Diego Biurrun<[email protected]> writes:
On Wed, Mar 21, 2012 at 12:25:20AM -0700, Josh Allmann wrote:
--- a/configure
+++ b/configure
@@ -3018,9 +3018,9 @@ enabled libcdio&&
enabled x11grab&&
-check_header X11/Xlib.h&&
-check_header X11/extensions/XShm.h&&
-check_header X11/extensions/Xfixes.h&&
+{ check_header X11/Xlib.h || die "ERROR: Xlib.h not found"; }&&
+{ check_header X11/extensions/XShm.h || die "ERROR: XShm.h not found"; }&&
+{ check_header X11/extensions/Xfixes.h || die "ERROR: Xfixes.h not found"; }&&
check_func XOpenDisplay -lX11&&
check_func XShmCreateImage -lX11 -lXext&&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
So your idea is to error out with a loud message instead of silently
continuing without x11grab enabled? But then why only error out on
missing headers and ignore unavailable functions?
And either way, this is getting unwieldy.
I guess it could be unified somehow.
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel