summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-21 09:14:51 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-21 09:14:51 +0530
commitd7ae6e4653f5b1f819ade300900deb248057eee3 (patch)
tree8ece808ec9f4d88d46af3ba5ab9568cab3fdffec /configure.ac
parenteccc7650571fd3ff9fd2b5cc3fcfffe5b4499ab5 (diff)
build: Add -ansi and --std=c89 to CFLAGS
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9abb378..92e78b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,7 +197,7 @@ AC_CHECK_FUNCS([strlcpy strlcat])
dnl Enable extra warnings
-DESIRED_FLAGS="-fdiagnostics-show-option -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wfloat-equal -Wundef -Wformat=2 -Wlogical-op -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Waggregate-return -Winit-self -Wpacked -pedantic -Wc++-compat -Wno-long-long -Wno-overlength-strings -Wdeclaration-after-statement -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-qual -Wcast-align -Wwrite-strings -Wp,-D_FORTIFY_SOURCE=2 -fno-common"
+DESIRED_FLAGS="-fdiagnostics-show-option -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wfloat-equal -Wundef -Wformat=2 -Wlogical-op -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Waggregate-return -Winit-self -Wpacked --std=c89 -ansi -pedantic -Wc++-compat -Wno-long-long -Wno-overlength-strings -Wdeclaration-after-statement -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-qual -Wcast-align -Wwrite-strings -Wp,-D_FORTIFY_SOURCE=2 -fno-common"
for flag in $DESIRED_FLAGS ; do
AS_COMPILER_FLAG([$flag], [CFLAGS="$CFLAGS $flag"])