aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f8c5b4f79..ea0abbb1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1577,8 +1577,13 @@ if test "$GCC" = yes; then
fi
CFLAGS="$mycflags $mycflags_save"
+ USE_C99_CFLAGS="-std=gnu99"
+else
+ USE_C99_CFLAGS=
fi
+AC_SUBST(USE_C99_CFLAGS)
+
#
# This is handy for debugging so the compiler doesn't rearrange