From 91806d6d0972c1aad8164fde420205b4caa5ed9d Mon Sep 17 00:00:00 2001 From: Jason Self Date: Sat, 20 Apr 2019 15:29:45 -0700 Subject: [PATCH] Add -Wall -Werror to AM_INIT_AUTOMAKE --- configure.ac | 2 +- zilasm/configure.ac | 2 +- zilc/configure.ac | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index c25d355..5444c7e 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PREREQ([2.69]) AC_INIT([zilutils], [0.1]) -AM_INIT_AUTOMAKE(foreign) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_SUBDIRS([zilasm zilc]) diff --git a/zilasm/configure.ac b/zilasm/configure.ac index 32d99fd..26578ab 100644 --- a/zilasm/configure.ac +++ b/zilasm/configure.ac @@ -22,7 +22,7 @@ AC_INIT([zilasm], [0.1]) AC_CONFIG_SRCDIR([main.c]) AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE(foreign) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_FILES([Makefile]) # Checks for programs. diff --git a/zilc/configure.ac b/zilc/configure.ac index 9ba9493..e3eac83 100644 --- a/zilc/configure.ac +++ b/zilc/configure.ac @@ -22,7 +22,7 @@ AC_INIT([zilc], [0.1]) AC_CONFIG_SRCDIR([main.c]) AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE(foreign) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_FILES([Makefile]) # Checks for programs. -- 2.31.1