Code

build system: Fix another bug in the detection of the statgrab library.
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 30 Apr 2008 06:17:21 +0000 (08:17 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 30 Apr 2008 06:17:21 +0000 (08:17 +0200)
configure.in

index 046b174fdbcba65f95ff19c1d7f54a148d6848d9..62f70e132a962c9a96145a9278e524172fa7868e 100644 (file)
@@ -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