From 496f933b107821504a26cfbe8eac41894ab617a4 Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Wed, 4 Mar 2009 16:52:07 +0530 Subject: libcgroup: Introduce -Wall in CFLAGS We did not have -Wall in the CFLAGS and lost out on a number of warnings because of that. Introduce it now. Signed-off-by: Dhaval Giani --- configure | 1 + configure.in | 1 + 2 files changed, 2 insertions(+) diff --git a/configure b/configure index 568bc17..6cf1cb5 100755 --- a/configure +++ b/configure @@ -6270,6 +6270,7 @@ ac_config_files="$ac_config_files libcgroup.spec:libcgroup.spec.in" ac_config_files="$ac_config_files mktarball:mktarball.in" +CFLAGS="$CFLAGS -Wall" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure diff --git a/configure.in b/configure.in index 328807c..e864fa5 100644 --- a/configure.in +++ b/configure.in @@ -64,4 +64,5 @@ AC_CHECK_FUNCS([getmntent hasmntopt memset mkdir rmdir strdup]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([libcgroup.spec:libcgroup.spec.in]) AC_CONFIG_FILES([mktarball:mktarball.in]) +CFLAGS="$CFLAGS -Wall" AC_OUTPUT -- cgit