diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index b7a6c33504..555f023b5c 100644 --- a/configure.ac +++ b/configure.ac @@ -615,9 +615,11 @@ AS_IF([test "$GCC" = yes], [ ], [cygwin*|darwin*|netbsd*], [ # need lgamma_r(), finite() - ], + ]) + + # ANSI (no XCFLAGS because this is C only) + AS_CASE(["$target_os"], [solaris*], [ - # ANSI (no XCFLAGS because this is C only) # Because "-std=gnu99" affects existance of functions on Solaris, # "-std=gnu99" will be appended to CPPFLAGS. for ansi_options in -std=gnu99; do |