From: Florian Forster Date: Wed, 30 Apr 2008 06:17:21 +0000 (+0200) Subject: build system: Fix another bug in the detection of the statgrab library. X-Git-Tag: collectd-4.4.0~4^2~5^2~1 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=d977ecae69a16aef7402e2b8de9d128d3e0d85c4;p=collectd.git build system: Fix another bug in the detection of the statgrab library. --- diff --git a/configure.in b/configure.in index 046b174f..62f70e13 100644 --- a/configure.in +++ b/configure.in @@ -1089,7 +1089,8 @@ AM_CONDITIONAL(BUILD_WITH_LIBIOKIT, test "x$with_libiokit" = "xyes") AC_ARG_WITH(libstatgrab, [AS_HELP_STRING([--with-libstatgrab@<:@=PREFIX@:>@], [Path to libstatgrab.])], [ - if test "x$withval" != "xno" -a "x$withval" != "xyes" + if test "x$withval" != "xno" \ + && test "x$withval" != "xyes" then LDFLAGS="$LDFLAGS -L$withval/lib" CPPFLAGS="$CPPFLAGS -I$withval/include" @@ -1097,7 +1098,7 @@ AC_ARG_WITH(libstatgrab, [AS_HELP_STRING([--with-libstatgrab@<:@=PREFIX@:>@], [P fi ], [ - if test "x$ac_system" == "xunknown" + if test "x$ac_system" = "xunknown" then with_libstatgrab="yes" else