summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1f868ca)
well get the full benefit.
AC_SET_MAKE
if test "x$GCC" = xyes; then
gcc_werror=-Werror
AC_SET_MAKE
if test "x$GCC" = xyes; then
gcc_werror=-Werror
+ case "$CC" in
+ *-std=* )
+ ;;
+ * )
+ CC="${CC} -std=gnu99"
+ ;;
+ esac
else
AC_MSG_ERROR([GNU C is required to build this program])
gcc_werror=""
else
AC_MSG_ERROR([GNU C is required to build this program])
gcc_werror=""