You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	configure: check that pthreads is compatible with compiler.
In particular the mutex initialization for example won't actually compile with e.g. gcc 2.95. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
		
							
								
								
									
										1
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -4359,6 +4359,7 @@ if ! disabled pthreads && ! enabled w32threads && ! enabled os2threads; then | ||||
|     elif ! check_func pthread_join && ! check_func pthread_create; then | ||||
|         disable pthreads | ||||
|     fi | ||||
|     check_code cc "pthread.h" "static pthread_mutex_t atomic_lock = PTHREAD_MUTEX_INITIALIZER" || disable pthreads | ||||
| fi | ||||
|  | ||||
| for thread in $THREADS_LIST; do | ||||
|   | ||||
		Reference in New Issue
	
	Block a user