"Ronald S. Bultje" <rsbul...@gmail.com> writes:

> From: "Ronald S. Bultje" <rsbul...@gmail.com>
>
> ---
>  configure            |    3 +++
>  libavutil/internal.h |    7 +++++--
>  2 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 4c1cdc3..3d02e75 100755
> --- a/configure
> +++ b/configure
> @@ -1117,6 +1117,7 @@ HAVE_LIST="
>      MapViewOfFile
>      memalign
>      mkstemp
> +    mm_empty
>      mmap
>      nanosleep
>      netinet_sctp_h
> @@ -2643,6 +2644,8 @@ check_cc <<EOF && enable inline_asm
>  void foo(void) { __asm__ volatile ("" ::); }
>  EOF
>
> +check_code cc mmintrin.h "_mm_empty()" && enable mm_empty

This test and others like it need to use "check_cc ld".  A compile-only
test can still succeed with an implicit function declaration.  They
should also be placed in the x86-specific section.

-- 
Måns Rullgård
m...@mansr.com
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to