add -std=gnu99 to compile flags when compiling imath-32 backend with gcc
commit732cd0677a7fb96b3747a14bc68da27e779f65b6
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 21 Jun 2015 20:21:59 +0000 (21 22:21 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 21 Jun 2015 20:27:12 +0000 (21 22:27 +0200)
treecdf17d87e9f5d395c4db839b6add2e386c26f188
parente7d25872776611ac47f8f458a432e20b0b2b6369
add -std=gnu99 to compile flags when compiling imath-32 backend with gcc

The imath-32 backend relies on the C99 behavior of "inline", which is
different from the default gcc behavior, resulting in multiple definition
errors when compiling the imath-32 backend with gcc.
The original imath-32 support was developed on top of a patch
that would end up setting -std=gnu99 for gcc, but this patch was dropped.
Set -std=gnu99 explicitly when compiling the imath-32 backend with gcc.

Reported-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
configure.ac