configure.in: Let configure bail out on missing dependencies
authorBruno Prémont <bonbons@linux-vserver.org>
Sun, 5 Oct 2008 12:09:08 +0000 (14:09 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 6 Oct 2008 12:52:24 +0000 (14:52 +0200)
commit9276a81328091fdebc833eb10580d53bc51659db
tree4b44bbe3535c84ca0f2483e487547d6f9ad28fbc
parent953bd0f881faa40c415a1f1a9d7e2da739d343ff
configure.in: Let configure bail out on missing dependencies

The patch below adds check in AC_PLUGIN() that verifies if the
dependencies are met for any enabled plugin.

In case some dependency is missing (default is disabled and enabled
is selected) configure will fail after dumping summary so all
dependency issues are visible in a single configure pass.

A later addition would be to list requirements (dependencies, OS/Kernel
restrictions) for all plugins in an easily accessible location (e.g.
INSTALL file)

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in