From d977ecae69a16aef7402e2b8de9d128d3e0d85c4 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 30 Apr 2008 08:17:21 +0200 Subject: [PATCH] build system: Fix another bug in the detection of the statgrab library. --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2