From 13b221963b185cebe8cb691f936b186f2fa89310 Mon Sep 17 00:00:00 2001 From: "Diego E. 'Flameeyes' Pettenò" Date: Wed, 19 Nov 2008 03:19:39 +0100 Subject: Update the attributes.m4 macro file from xine-lib/lscube. Also use the new CC_CHECK_CFLAGS_APPEND macro instead of doing the for loop manually. --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a185464..3078ab4 100644 --- a/configure.ac +++ b/configure.ac @@ -44,11 +44,7 @@ AC_USE_SYSTEM_EXTENSIONS 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 -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math" - -for flag in $DESIRED_FLAGS ; do - CC_CHECK_CFLAGS([$flag], [CFLAGS="$CFLAGS $flag"]) -done +CC_CHECK_CFLAGS_APPEND([-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 -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math]) # Checks for header files. AC_HEADER_ASSERT -- cgit