[PATCH] hsakmt: allow building with gcc 4.x v2

2016-04-17 Thread Oded Gabbay
On Wed, Mar 30, 2016 at 2:12 AM, Bridgman, John wrote: > The hsakmt code requires C99 compiler support, however gcc 4.x > defaults to C89 (gcc 5 defaults to C11). v2 patch copies code > from libdrm, using AC_PROG_CC_C99 and checking success. > > v1 used AC_PROG_CC_STDC and did not check C99 was e

[PATCH] hsakmt: allow building with gcc 4.x v2

2016-03-29 Thread Bridgman, John
The hsakmt code requires C99 compiler support, however gcc 4.x defaults to C89 (gcc 5 defaults to C11). v2 patch copies code from libdrm, using AC_PROG_CC_C99 and checking success. v1 used AC_PROG_CC_STDC and did not check C99 was enabled. Signed-off-by: John Bridgman --- configure.ac | 6 +