]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - configure.ac
Build system update
[mirror_spl-debian.git] / configure.ac
index 259c4e89264e4b34ad6488efbc690ac9bec53ef3..385fdcdfba89483f99309daa8afe5871313f0b18 100644 (file)
@@ -79,6 +79,7 @@ TOPDIR=`/bin/pwd`
 # Add "V=1" to KERNELMAKE_PARAMS to enable verbose module build
 KERNELMAKE_PARAMS=
 KERNELCPPFLAGS="${KERNELCPPFLAGS} -I$TOPDIR -I$TOPDIR/include"
+KERNELCPPFLAGS="${KERNELCPPFLAGS} -Wstrict-prototypes -Werror -Wshadow"
 
 if test "${LINUX_OBJ}" != "${LINUX}"; then
        KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$kernelbuild"
@@ -88,16 +89,27 @@ AC_SUBST(KERNELMAKE_PARAMS)
 AC_SUBST(KERNELCPPFLAGS)
 AC_SUBST(KERNELCFLAGS)
 
-AC_CONFIG_FILES([ Makefile
-                  lib/Makefile
-                  cmd/Makefile
-                  module/Makefile
-                  module/spl/Makefile
-                  module/splat/Makefile
-                  include/Makefile
-                  include/sys/Makefile
-                  scripts/Makefile
-                  scripts/spl.spec
-               ])
+AC_CONFIG_FILES([
+       Makefile
+       lib/Makefile
+       cmd/Makefile
+       module/Makefile
+       module/spl/Makefile
+       module/splat/Makefile
+       include/Makefile
+       include/asm/Makefile
+       include/fs/Makefile
+       include/linux/Makefile
+       include/rpc/Makefile
+       include/sharefs/Makefile
+       include/sys/Makefile
+       include/sys/fm/Makefile
+       include/sys/fs/Makefile
+       include/sys/sysevent/Makefile
+       include/util/Makefile
+       include/vm/Makefile
+       scripts/Makefile
+       scripts/spl.spec
+])
 
 AC_OUTPUT