From: Ruben Kerkhof Date: Fri, 11 Dec 2015 18:53:33 +0000 (+0100) Subject: lvm2 plugin: mark as Linux only X-Git-Tag: collectd-5.6.0~495^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fa1965ea01a09ef0882814062faa0c2af1409fff;p=collectd.git lvm2 plugin: mark as Linux only --- diff --git a/configure.ac b/configure.ac index c4483792..66c531b7 100644 --- a/configure.ac +++ b/configure.ac @@ -2413,17 +2413,25 @@ with_liblvm2app_cppflags="" with_liblvm2app_ldflags="" AC_ARG_WITH(liblvm2app, [AS_HELP_STRING([--with-liblvm2app@<:@=PREFIX@:>@], [Path to liblvm2app.])], [ - if test "x$withval" != "xno" && test "x$withval" != "xyes" - then - with_liblvm2app_cppflags="-I$withval/include" - with_liblvm2app_ldflags="-L$withval/lib" - with_liblvm2app="yes" - else - with_liblvm2app="$withval" + if test "x$withval" = "xno" + then + with_liblvm2app="no" + else + with_liblvm2app="yes" + if test "x$withval" != "xyes" + then + with_liblvm2app_cppflags="-I$withval/include" + with_liblvm2app_ldflags="-L$withval/lib" + fi fi ], [ - with_liblvm2app="yes" + if test "x$ac_system" = "xLinux" + then + with_liblvm2app="yes" + else + with_liblvm2app="no (Linux only library)" + fi ]) if test "x$with_liblvm2app" = "xyes" then