aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-09-24 20:10:02 +0200
committerDiego Biurrun <diego@biurrun.de>2017-10-12 20:04:17 +0200
commit93797681c2310faeeb0158f66f471965213904c6 (patch)
treea2e64c007716065692495d9f9e91caa763435ca4 /configure
parent62d5b5a9d3b0181335072d6fa792f2d805bc27b6 (diff)
downloadffmpeg-93797681c2310faeeb0158f66f471965213904c6.tar.gz
build: Rename stdatomic_h variable to stdatomic
It does not represent a header but a complete system capability.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index d5188c8818..51b52744c0 100755
--- a/configure
+++ b/configure
@@ -1562,7 +1562,6 @@ HEADERS_LIST="
machine_ioctl_meteor_h
malloc_h
poll_h
- stdatomic_h
sys_param_h
sys_resource_h
sys_select_h
@@ -4612,7 +4611,7 @@ check_header windows.h
# it seems there are versions of clang in some distros that try to use the
# gcc headers, which explodes for stdatomic
# so we also check that atomics actually work here
-check_builtin stdatomic_h stdatomic.h "atomic_int foo; atomic_store(&foo, 0)"
+check_builtin stdatomic stdatomic.h "atomic_int foo; atomic_store(&foo, 0)"
check_lib ole32 "windows.h" CoTaskMemFree -lole32
check_lib shell32 "windows.h shellapi.h" CommandLineToArgvW -lshell32
@@ -5141,7 +5140,7 @@ for thread in $THREADS_LIST; do
fi
done
-if disabled stdatomic_h; then
+if disabled stdatomic; then
if enabled atomics_gcc; then
add_cppflags '-I\$(SRC_PATH)/compat/atomics/gcc'
elif enabled atomics_win32; then