From: Marc Fournier Date: Wed, 30 Jul 2014 21:15:23 +0000 (+0200) Subject: build system: correct warning about subdir-objects X-Git-Tag: collectd-5.5.0~238^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=580eb49a6b5a601ff83d81589c136e83407bc8bc;p=collectd.git 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 --- 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