소스 검색

configure.ac: conditionally define HAVE_X11 (properly)

Nathalie Furmento 14 년 전
부모
커밋
462a05c8a5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -891,7 +891,7 @@ AC_PATH_XTRA
 if test x$x_includes != xNONE; then
 	AC_DEFINE(STARPU_HAVE_X11, [1], [enable X11])
 fi
-AM_CONDITIONAL(HAVE_X11, test x$x_includes = xNONE)
+AM_CONDITIONAL(HAVE_X11, test x$x_includes != xNONE)
 
 # In case there are BLAS kernels that are used by the example applications
 # we may specify which library to use. Note that this is not used for StarPU