소스 검색

configure.ac: protect string using "

Nathalie Furmento 13 년 전
부모
커밋
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