diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-02-02 23:00:45 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-07-10 16:00:54 +0400 |
commit | 28b9262f088fdb1703a0152c14c5cb02723214bc (patch) | |
tree | 38f8e1d81b5f01c0b71edce82facc42d9d0d1d45 | |
parent | d500a1d9ca3c10451225f520416f3832849e3bd1 (diff) | |
download | dctrl-tools-28b9262f088fdb1703a0152c14c5cb02723214bc.tar.gz |
Add support for silent rules; disable -Werror by default
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 99d30b9..38ef67c 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign subdir-objects dist-bzip2]) +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES]) AC_PROG_CC_C99 AC_USE_SYSTEM_EXTENSIONS @@ -15,7 +16,9 @@ AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.18.1]) AC_ARG_ENABLE([werror], - AS_HELP_STRING([--enable-werror], [treat warnings as errors])) + AS_HELP_STRING([--enable-werror], [treat warnings as errors]), + [], + [enable_werror=no]) AS_IF([test "x$enable_werror" != "xno"], [ AC_SUBST([WERROR], [-Werror]) |