]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
libcgroup: Introduce -Wall in CFLAGS
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 4 Mar 2009 11:22:07 +0000 (16:52 +0530)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Wed, 4 Mar 2009 11:22:07 +0000 (16:52 +0530)
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 <dhaval@linux.vnet.ibm.com>
configure
configure.in

index 568bc177a50ebd0db343cb9abae47c55372216e0..6cf1cb5c943be945f47c135fca99e41689a2b7fb 100755 (executable)
--- 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
index 328807c15b7837c8c59b4b71e1928616f346d712..e864fa5e7a962cbb35330caf391472e54ff7278a 100644 (file)
@@ -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