diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-10-28 19:51:56 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-10-28 19:51:56 +0100 |
commit | fd1b96e450b3bc3a13e675d955f7e5f373c3e8ef (patch) | |
tree | fb504f47878423f61becced7a9d4fe80760451c8 /configure.ac | |
parent | bae4a7b081c50bb420f9a8ca4b3426b284708a42 (diff) |
Use the new CC_CHECK_CFLAGS_APPEND macro instead of a custom for.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 09e3518..45704a7 100644 --- a/configure.ac +++ b/configure.ac @@ -47,11 +47,7 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_LIBTOOL -DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter" - -for flag in $DESIRED_FLAGS ; do - CC_CHECK_CFLAGS([$flag], [CFLAGS="$CFLAGS $flag"]) -done +CC_CHECK_CFLAGS_APPEND([-pipe -Wall -W -Wextra -pedantic -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter]) # Checks for header files. AC_HEADER_ASSERT |