]> git.ozlabs.org Git - petitboot/blobdiff - configure.ac.in
Add udevadm to pb_system_apps
[petitboot] / configure.ac.in
index 28e96d379bb3bb32d18cb8eb21a0e9b172d47503..1f4a4199193d24b0b9dd3a1d0facc61716547991 100644 (file)
@@ -167,6 +167,14 @@ default_cflags="--std=gnu99 -g \
        -Wall -W -Wunused -Wstrict-prototypes -Wmissing-prototypes \
        -Wmissing-declarations -Wredundant-decls -Winline"
 
+AC_ARG_ENABLE(
+       [werror],
+       [AS_HELP_STRING([--enable-werror],
+               [build programs with -Werror]
+       )],
+       [default_cflags="$default_cflags -Werror"]
+)
+
 AS_IF(
        [test "x$enable_debug" = "xyes"],
        [AC_SUBST([DEFAULT_CFLAGS], ["$default_cflags -O0 -DDEBUG"])],
@@ -183,6 +191,8 @@ AC_CONFIG_FILES([
        discover/Makefile
        lib/Makefile
        man/Makefile
+       test/Makefile
+       test/parser/Makefile
        ui/Makefile
        ui/common/Makefile
        ui/ncurses/Makefile