X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=configure.ac;h=f0617f3206de57c1f8ccb6de7e785a2f8207990c;hp=cfef2a11362b7b411ad9face45cb0a1f477969d4;hb=ce76e2051ce668ff4623263215bf4b38cfca46ca;hpb=cb2c4617316df5b467c6a76bf118ee65f6e1c3a2 diff --git a/configure.ac b/configure.ac index cfef2a11..f0617f32 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,8 @@ if test -d /sw/lib ; then LIBS="$LIBS -L/sw/lib" fi +AX_CHECK_COMPILE_FLAG([-std=c11], [CPPFLAGS="-std=c11"]) + dnl Compiler hardening flags dnl No -fstack-protector-all because it doesn't work on all platforms or architectures.