The hsakmt code requires c99 support, however gcc 4.x defaults to c89 while gcc 5 defaults to c11. Adding this macro provides c99 support on older gcc while not forcing gcc 5 back from c11 to c99.
Signed-off-by: John Bridgman <john.bridgman at amd.com> --- Â configure.ac | 1 + Â 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index b8e9bea..8f32cbb 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,7 @@ AC_CANONICAL_HOST Â AC_PROG_AWK Â test_CFLAGS=${CFLAGS+set} # We may override autoconf default CFLAGS. Â AC_PROG_CC +AC_PROG_CC_STDC Â AC_PROG_INSTALL Â AC_PROG_LIBTOOL Â AC_PROG_MAKE_SET -- 1.9.1