[build] Check for -sdd=gnu23

It's not available yet, but apparently clang got it just a few days ago
(for clang-18), so head that off at the pass.
This commit is contained in:
Bill Currie 2023-08-14 09:16:23 +09:00
parent 70b60456a8
commit ff271c7724

View file

@ -326,7 +326,7 @@ if test "x$leave_cflags_alone" != xyes; then
[[bool flag = true;]], [[bool flag = true;]],
[[return flag ? 1 : 0]])], [[return flag ? 1 : 0]])],
[], [],
[QF_CC_OPTION(-std=gnu2x)] [QF_CC_OPTION_TEST(-std=gnu23,[],QF_CC_OPTION(-std=gnu2x))]
) )
fi fi
AC_MSG_CHECKING([for c23]) AC_MSG_CHECKING([for c23])