From a8287f5aaac5f42367f61cd4ba214ee1e7a0770e Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 30 Apr 2008 10:52:27 +0200 Subject: [PATCH] build system: Define HAVE_LIBSTATGRAB if the statgrab library is available. This define is used in some plugins. Thanks to Oleg King for noticing and pointing this out and thanks to Sebastian Harl for a first patch which, unfortunately, doesn't work anymore after changing the configure script. --- configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.in b/configure.in index ae11ecfa..ef428ccc 100644 --- a/configure.in +++ b/configure.in @@ -1193,6 +1193,7 @@ fi AM_CONDITIONAL(BUILD_WITH_LIBSTATGRAB, test "x$with_libstatgrab" = "xyes") if test "x$with_libstatgrab" = "xyes" then + AC_DEFINE(HAVE_LIBSTATGRAB, 1, [Define to 1 if you have the 'statgrab' library (-lstatgrab)]) BUILD_WITH_LIBSTATGRAB_CFLAGS="$with_libstatgrab_cflags" BUILD_WITH_LIBSTATGRAB_LDFLAGS="$with_libstatgrab_ldflags" AC_SUBST(BUILD_WITH_LIBSTATGRAB_CFLAGS) -- 2.11.0