>From 8e188e8bc7be01d0c62791e7e05070084b8cdf51 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 8 Mar 2014 18:21:50 +0100 Subject: [PATCH] AUTOMAKE: Do not treat warnings as errors The EXTRA_*_DEPENDENCIES variable is useful for cases where you merely want to augment the automake-generated _DEPENDENCIES variable rather than replacing it. It is a syntax warning in automake < 1.11.3 and syntax warnings are enabled by default. Makefile.am:259: variable `EXTRA_libini_config_la_DEPENDENCIES' is defined but no program or library has `EXTRA_libini_config_la' as canonical name (possible typo) autoreconf: automake failed with exit status: 1 The only negative of this solution is that library will not be recompiled with older version of automake if files listed in EXTRA_*_DEPENDENCIES are changed. It is better to see warnings than override automatically generated dependencies calculated by automake with syntax: *_DEPENDENCIES --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 935a096e244d862a8df378f24a343829e3995228..048d3adef1d285482729d40eca2d499184d7d62d 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_INIT([ding-libs], AC_CONFIG_SRCDIR([README]) AC_CONFIG_AUX_DIR([build]) AC_GNU_SOURCE -AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) AM_PROG_CC_C_O m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_PROG_LIBTOOL -- 1.8.5.3