]> git.ozlabs.org Git - petitboot/blobdiff - configure.ac.in
Add udevadm to pb_system_apps
[petitboot] / configure.ac.in
index c62ef56e872ec67cb6455baeea49da24eb1c106c..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"])],
@@ -184,6 +192,7 @@ AC_CONFIG_FILES([
        lib/Makefile
        man/Makefile
        test/Makefile
+       test/parser/Makefile
        ui/Makefile
        ui/common/Makefile
        ui/ncurses/Makefile