Josh Allmann <[email protected]> writes:

> ---
>  configure |    9 +++------
>  1 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/configure b/configure
> index eba9cfe..af9569b 100755
> --- a/configure
> +++ b/configure
> @@ -3018,12 +3018,9 @@ enabled libcdio &&
>      check_lib2 "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open 
> "-lcdio_paranoia -lcdio_cdda -lcdio"
>
>  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
> +require X11 X11/Xlib.h XOpenDisplay -lX11 &&
> +require Xext X11/extensions/XShm.h XShmCreateImage "-lX11 -lXext" &&
> +require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage "-lX11 -lXext 
> -lXfixes"

require adds the -lfoo flags so there's no need to repeat them (and
there's no need for quotes either).  If you make this change, you should
also remove the then redundant x11_grab_device_indev_extralibs setting.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to