diff mbox

[FFmpeg-devel,1/2,v2] configure: disable libxcb dependent features if libxcb is not enabled

Message ID 20170928225622.3580-1-jamrial@gmail.com
State New
Headers show

Commit Message

James Almer Sept. 28, 2017, 10:56 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

Comments

James Almer Oct. 4, 2017, 3:29 p.m. UTC | #1
On 9/28/2017 7:56 PM, James Almer wrote:
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  configure | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configure b/configure
> index c2f5fc2c98..ebcf48de20 100755
> --- a/configure
> +++ b/configure
> @@ -6215,6 +6215,8 @@ if enabled libxcb; then
>  
>      add_cflags $xcb_cflags $xcb_shm_cflags $xcb_xfixes_cflags $xcb_shape_cflags
>      add_extralibs $xcb_extralibs $xcb_shm_extralibs $xcb_xfixes_extralibs $xcb_shape_extralibs
> +else
> +    disable libxcb_shm libxcb_shape libxcb_xfixes
>  fi
>  
>  check_func_headers "windows.h" CreateDIBSection "$gdigrab_indev_extralibs"

Ping for set.
James Almer Oct. 8, 2017, 9:48 p.m. UTC | #2
On 10/4/2017 12:29 PM, James Almer wrote:
> On 9/28/2017 7:56 PM, James Almer wrote:
>> Signed-off-by: James Almer <jamrial@gmail.com>
>> ---
>>  configure | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/configure b/configure
>> index c2f5fc2c98..ebcf48de20 100755
>> --- a/configure
>> +++ b/configure
>> @@ -6215,6 +6215,8 @@ if enabled libxcb; then
>>  
>>      add_cflags $xcb_cflags $xcb_shm_cflags $xcb_xfixes_cflags $xcb_shape_cflags
>>      add_extralibs $xcb_extralibs $xcb_shm_extralibs $xcb_xfixes_extralibs $xcb_shape_extralibs
>> +else
>> +    disable libxcb_shm libxcb_shape libxcb_xfixes
>>  fi
>>  
>>  check_func_headers "windows.h" CreateDIBSection "$gdigrab_indev_extralibs"
> 
> Ping for set.

Pushed patch 1/2.
diff mbox

Patch

diff --git a/configure b/configure
index c2f5fc2c98..ebcf48de20 100755
--- a/configure
+++ b/configure
@@ -6215,6 +6215,8 @@  if enabled libxcb; then
 
     add_cflags $xcb_cflags $xcb_shm_cflags $xcb_xfixes_cflags $xcb_shape_cflags
     add_extralibs $xcb_extralibs $xcb_shm_extralibs $xcb_xfixes_extralibs $xcb_shape_extralibs
+else
+    disable libxcb_shm libxcb_shape libxcb_xfixes
 fi
 
 check_func_headers "windows.h" CreateDIBSection "$gdigrab_indev_extralibs"