]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: shut up automake warnings
authorEric Blake <eblake@redhat.com>
Wed, 4 Sep 2013 16:26:30 +0000 (10:26 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 5 Sep 2013 12:50:55 +0000 (06:50 -0600)
commit1ac24b3bacb00635f822db121dc87dfd3c477506
tree5e5e34f18f72164fc6edb9da0272e8a2990e807e
parent75ad8b67d48d88e6d5a6fae157f6cb149f8513a2
build: shut up automake warnings

I'm tired of seeing screenfuls of messages like these when using
automake 1.13 (Fedora 19):

configure.ac:2121: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:2121: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:2121: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
daemon/Makefile.am:19: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

seeing as how we MUST use those constructs for the benefit of
automake 1.9 (RHEL 5).  Conversely, RHEL 5 automake complained:

aclocal:configure.ac:36: warning: macro `AM_SILENT_RULES' not found in library

Obviously, I tested this patch on both Fedora 19 and RHEL 5.

* configure.ac (AM_INIT_AUTOMAKE): Avoid obsoletion warnings.
(AM_SILENT_RULES): Avoid unknown macro warning.

Signed-off-by: Eric Blake <eblake@redhat.com>
configure.ac