[MPlayer-cvslog] r38138 - trunk/configure

reimar subversion at mplayerhq.hu
Mon May 20 19:45:17 EEST 2019


Author: reimar
Date: Mon May 20 19:45:17 2019
New Revision: 38138

Log:
Add check for stdatomic.h

If not found, try adding the gcc compat header.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon May 20 19:45:16 2019	(r38137)
+++ trunk/configure	Mon May 20 19:45:17 2019	(r38138)
@@ -3897,6 +3897,14 @@ fi
 echores "$_fast_inttypes"
 
 
+echocheck "stdatomic.h"
+stdatomic_h=no
+header_check stdatomic.h && stdatomic_h=yes
+echores "$stdatomic_h"
+if test "$stdatomic_h" = no ; then
+  CFLAGS="-Icompat/atomics/gcc $CFLAGS"
+fi
+
 echocheck "malloc.h"
 _malloc=no
 header_check malloc.h && _malloc=yes


More information about the MPlayer-cvslog mailing list