]> git.meshlink.io Git - meshlink/blobdiff - configure.ac
Don't use assert() to check the results of pthread_*() calls.
[meshlink] / configure.ac
index cfef2a11362b7b411ad9face45cb0a1f477969d4..1047dc1b7101b69f3419f3c244bc306403305d0e 100644 (file)
@@ -54,6 +54,8 @@ if test -d /sw/lib ; then
   LIBS="$LIBS -L/sw/lib"
 fi
 
+AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS="$CFLAGS -std=c11"])
+
 dnl Compiler hardening flags
 dnl No -fstack-protector-all because it doesn't work on all platforms or architectures.