瀏覽代碼

configure.ac: protect string using "

Nathalie Furmento 12 年之前
父節點
當前提交
e928d6fc43
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      configure.ac

+ 3 - 3
configure.ac

@@ -1235,9 +1235,9 @@ else
   build_starpu_top=no
 fi
 
-AC_SUBST(STARPU_USE_TOP, test x$build_starpu_top = xyes)
-AM_CONDITIONAL(BUILD_STARPU_TOP, test x$build_starpu_top = xyes)
-if test x$build_starpu_top = xyes; then
+AC_SUBST(STARPU_USE_TOP, test "x$build_starpu_top" = "xyes")
+AM_CONDITIONAL(BUILD_STARPU_TOP, test "x$build_starpu_top" = "xyes")
+if test "x$build_starpu_top" = "xyes"; then
 	AC_DEFINE(STARPU_USE_TOP, [1], [StarPU-Top is activated])
 fi