git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
configure-enable-warnings-20080228
[openafs.git]
/
src
/
cf
/
osconf.m4
diff --git
a/src/cf/osconf.m4
b/src/cf/osconf.m4
index
fc2501b
..
4352724
100644
(file)
--- a/
src/cf/osconf.m4
+++ b/
src/cf/osconf.m4
@@
-1087,6
+1087,12
@@
else
NO_STRIP_BIN=
fi
+if test "x$enable_warnings" = "xyes"; then
+ if test "x$GCC" = "xyes"; then
+ XCFLAGS="${XCFLAGS} -Wall -Wstrict-prototypes -Wold-style-definition"
+ fi
+fi
+
INSTALL_PROGRAM="${INSTALL_PROGRAM} ${NO_STRIP_BIN}"
AC_SUBST(CCXPG2)