Hi,
find attached the patch for the automake issue.
However, using the patch leads to bug #787253 [0].
Thanks, best regards.
[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787253
--
Arturo Borrero González
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,7 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wformat -Wextra -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector-all
+AUTOMAKE_OPTIONS = subdir-objects
varnish_agent_CFLAGS = @VARNISHAPI_CFLAGS@ $(AM_CFLAGS) -DAGENT_PERSIST_DIR='"${AGENT_PERSIST_DIR}"' -DAGENT_HTML_DIR='"${AGENT_HTML_DIR}"' @MICROHTTPD_CFLAGS@ @LIBCURL_CFLAGS@