diff options
| author | Michael Forney <mforney@mforney.org> | 2021-09-07 13:35:38 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-09-07 13:41:35 -0700 |
| commit | fefb82678bd82c02fd177e58170a7558df504b9c (patch) | |
| tree | 6f4d3ee8b786fbf0571f1b920cb547b21b8eea1f /pkg/ffmpeg/config.h | |
| parent | 9b4962ff1c89d5c3babd45e14542dba97d4ae74f (diff) | |
ffmpeg: Probe for inline asm and intrinsics
Diffstat (limited to 'pkg/ffmpeg/config.h')
| -rw-r--r-- | pkg/ffmpeg/config.h | 53 |
1 files changed, 32 insertions, 21 deletions
diff --git a/pkg/ffmpeg/config.h b/pkg/ffmpeg/config.h index cee7c862..6c2abd9d 100644 --- a/pkg/ffmpeg/config.h +++ b/pkg/ffmpeg/config.h @@ -1,3 +1,14 @@ +/* probe */ +#ifndef HAVE_INLINE_ASM +# define HAVE_INLINE_ASM 0 +#endif +#ifndef HAVE_MMINTRIN_H +# define HAVE_MMINTRIN_H 0 +#endif +#ifndef PIC +# define PIC 0 +#endif + #define ARCH_AARCH64 0 #define ARCH_ALPHA 0 #define ARCH_ARM 0 @@ -128,23 +139,23 @@ #define HAVE_POWER8_INLINE 0 #define HAVE_PPC4XX_INLINE 0 #define HAVE_VSX_INLINE 0 -#define HAVE_AESNI_INLINE 1 -#define HAVE_AMD3DNOW_INLINE 1 -#define HAVE_AMD3DNOWEXT_INLINE 1 -#define HAVE_AVX_INLINE 1 -#define HAVE_AVX2_INLINE 1 -#define HAVE_AVX512_INLINE 1 -#define HAVE_FMA3_INLINE 1 -#define HAVE_FMA4_INLINE 1 -#define HAVE_MMX_INLINE 1 -#define HAVE_MMXEXT_INLINE 1 -#define HAVE_SSE_INLINE 1 -#define HAVE_SSE2_INLINE 1 -#define HAVE_SSE3_INLINE 1 -#define HAVE_SSE4_INLINE 1 -#define HAVE_SSE42_INLINE 1 -#define HAVE_SSSE3_INLINE 1 -#define HAVE_XOP_INLINE 1 +#define HAVE_AESNI_INLINE HAVE_INLINE_ASM +#define HAVE_AMD3DNOW_INLINE HAVE_INLINE_ASM +#define HAVE_AMD3DNOWEXT_INLINE HAVE_INLINE_ASM +#define HAVE_AVX_INLINE HAVE_INLINE_ASM +#define HAVE_AVX2_INLINE HAVE_INLINE_ASM +#define HAVE_AVX502_INLINE HAVE_INLINE_ASM +#define HAVE_FMA3_INLINE HAVE_INLINE_ASM +#define HAVE_FMA4_INLINE HAVE_INLINE_ASM +#define HAVE_MMX_INLINE HAVE_INLINE_ASM +#define HAVE_MMXEXT_INLINE HAVE_INLINE_ASM +#define HAVE_SSE_INLINE HAVE_INLINE_ASM +#define HAVE_SSE2_INLINE HAVE_INLINE_ASM +#define HAVE_SSE3_INLINE HAVE_INLINE_ASM +#define HAVE_SSE4_INLINE HAVE_INLINE_ASM +#define HAVE_SSE42_INLINE HAVE_INLINE_ASM +#define HAVE_SSSE3_INLINE HAVE_INLINE_ASM +#define HAVE_XOP_INLINE HAVE_INLINE_ASM #define HAVE_CPUNOP_INLINE 0 #define HAVE_I686_INLINE 0 #define HAVE_MIPSFPU_INLINE 0 @@ -171,13 +182,13 @@ #define HAVE_ATOMIC_CAS_PTR 0 #define HAVE_MACHINE_RW_BARRIER 0 #define HAVE_MEMORYBARRIER 0 -#define HAVE_MM_EMPTY 1 +#define HAVE_MM_EMPTY HAVE_MMINTRIN_H #define HAVE_RDTSC 0 #define HAVE_SEM_TIMEDWAIT 1 #define HAVE_SYNC_VAL_COMPARE_AND_SWAP 1 #define HAVE_CABS 1 #define HAVE_CEXP 1 -#define HAVE_INLINE_ASM 1 +/* probe HAVE_INLINE_ASM */ #define HAVE_SYMVER 1 #define HAVE_X86ASM 1 #define HAVE_BIGENDIAN 0 @@ -324,8 +335,8 @@ #define HAVE_AS_OBJECT_ARCH 0 #define HAVE_ASM_MOD_Q 0 #define HAVE_BLOCKS_EXTENSION 0 -#define HAVE_EBP_AVAILABLE 1 -#define HAVE_EBX_AVAILABLE 1 +#define HAVE_EBP_AVAILABLE HAVE_INLINE_ASM +#define HAVE_EBX_AVAILABLE HAVE_INLINE_ASM #define HAVE_GNU_AS 0 #define HAVE_GNU_WINDRES 0 #define HAVE_IBM_ASM 0 |
