diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-10-03 15:32:30 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-11-05 11:30:13 +0100 |
commit | f9fdaa2ca92f1d111c5797e202ea48e6c3eb914f (patch) | |
tree | 479b0d1fa431b2e8aee0248800dc691f43721372 /configure | |
parent | ad3df6bf35825fe94a673e2be515067acd61769c (diff) | |
download | ffmpeg-f9fdaa2ca92f1d111c5797e202ea48e6c3eb914f.tar.gz |
configure: warn when threading is disabled
Explicitly state what the implications of this are.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7523,6 +7523,12 @@ check_deps $CONFIG_LIST \ enabled threads && ! enabled pthreads && ! enabled atomics_native && die "non pthread threading without atomics not supported, try adding --enable-pthreads or --cpu=i486 or higher if you are on x86" +enabled threads || warn \ + "Threading support was disabled or is not available on the target platform." \ + "This means that not only is this build not multi-threaded, but also" \ + "that the libraries from this build MUST NOT be used in a multi-threaded"\ + "environment." + case $target_os in haiku) disable memalign |