diff mbox series

[FFmpeg-devel,4/5] configure: include compat/stdckdint.h when required

Message ID 20240927014436.15622-4-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/5] compat: add a fallback implementation of C23 stdckdint.h | expand

Commit Message

James Almer Sept. 27, 2024, 1:44 a.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/configure b/configure
index 643ffddd19..b87e400fe4 100755
--- a/configure
+++ b/configure
@@ -7802,6 +7802,10 @@  check_builtin stdbit "stdbit.h assert.h" \
     'static_assert(__STDC_VERSION_STDBIT_H__ >= 202311L, "Compiler lacks stdbit.h")' || \
     add_cppflags '-I\$(SRC_PATH)/compat/stdbit'
 
+check_builtin stdckdint "stdckdint.h assert.h" \
+    'static_assert(__STDC_VERSION_STDCKDINT_H__ >= 202311L, "Compiler lacks stdckdint.h")' || \
+    add_cppflags '-I\$(SRC_PATH)/compat/stdckdint'
+
 # Check if requested libraries were found.
 for lib in $AUTODETECT_LIBS; do
     requested $lib && ! enabled $lib && die "ERROR: $lib requested but not found";