Fix test expression.
authorayin <ayin>
Thu, 26 Jul 2007 17:41:46 +0000 (17:41 +0000)
committerayin <ayin>
Thu, 26 Jul 2007 17:41:46 +0000 (17:41 +0000)
configure.ac

index 98a1910dd298d34e0104a31dfa063fba57a8feae..be096682c0c0c27f5a581d3f35724d202304faea 100644 (file)
@@ -479,7 +479,7 @@ if test x$support_afterimage = xyes; then
     if test "x$AFTERIMAGE_LIBS" != "x"; then
       libai_ver_major=`echo $AFTERIMAGE_VERSION | $AWK -F . '{print $1}'`
       libai_ver_minor=`echo $AFTERIMAGE_VERSION | $AWK -F . '{print $2}'`
-      if test "$libai_ver_major -gt 1 -o ($libai_ver_major -eq 1 -a $libai_ver_minor -ge 15)"; then
+      if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
         support_afterimage=yes;
       fi
     fi