Commit bce35b9f authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

add flag to enable C99 mode with Solaris compilers

Autoconf maintains a comprehenive list of ways to enforce C99 mode
with various compilers.

Since we regularly test with Sun/Solaris Studio, cherry pick the correct
method to use with --enable-strict.
Signed-off-by: Rob Latham's avatarRob Latham <>
parent 33d82829
......@@ -629,6 +629,10 @@ if test "$enable_strict_done" != "yes" ; then
# enabled. If C99 is enabled, we automatically disable C89.
if test "${enable_c99}" = "yes" ; then
# Use -D_STDC_C99= for Solaris compilers. See
# for discussion on why not to use -xc99
elif test "${enable_c89}" = "yes" ; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment