On 21 March 2012 03:41, Diego Biurrun <di...@biurrun.de> wrote: > 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? >
Yes, that was the idea. Would require()'ing everything be a better approach? _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel