CFLAGS="$CFLAGS -fno-strength-reduce"
fi
fi
-
- CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang version" >&5
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll"
fi
-if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then
- CFLAGS="$CFLAGS -ansi"
-fi
-
ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
cat >confcache <<\_ACEOF
CFLAGS="$CFLAGS -fno-strength-reduce"
fi
fi
-
- dnl Declare what standards the code should comply with
- CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700"
fi
dnl clang-500.2.75 or around has abandoned -f[no-]strength-reduce and issues a
CFLAGS="-D_ALL_SOURCE -Wc,float\(ieee\),dll"
fi
-dnl Declare what standards the code should comply with.
-dnl But not when using GTK, the header files cause all kinds of warnings.
-dnl But not when using Ruby, it needs "inline".
-if test "$GCC" = yes -a "$GUITYPE" != "GTK" -a "X$RUBY_CFLAGS" = "X"; then
- CFLAGS="$CFLAGS -ansi"
-fi
-
dnl write output files
AC_OUTPUT(auto/config.mk:config.mk.in)