Message ID | 1343716970-22955-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
diff --git a/configure b/configure index c65b5f6..749bd8b 100755 --- a/configure +++ b/configure @@ -2084,7 +2084,11 @@ if test "$cap" != "no" ; then cat > $TMPC <<EOF #include <stdio.h> #include <sys/capability.h> -int main(void) { cap_t caps; caps = cap_init(); } +int main(void) +{ + cap_init(); + return 0; +} EOF if compile_prog "" "-lcap" ; then cap=yes