From 580eb49a6b5a601ff83d81589c136e83407bc8bc Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Wed, 30 Jul 2014 23:15:23 +0200 Subject: [PATCH] build system: correct warning about subdir-objects This suppresses this category of warnings when running build.sh: src/Makefile.am:NNN: warning: source file 'XXX' is in a subdirectory, src/Makefile.am:NNN: but option 'subdir-objects' is disabled --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index b8a272a0..6c7a1d4e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,6 +17,8 @@ endif AM_CPPFLAGS += -DPLUGINDIR='"${pkglibdir}"' AM_CPPFLAGS += -DPKGDATADIR='"${pkgdatadir}"' +AUTOMAKE_OPTIONS = subdir-objects + sbin_PROGRAMS = collectd collectdmon bin_PROGRAMS = collectd-nagios collectdctl collectd-tg -- 2.30.2