瀏覽代碼

- fix configure's MIC flags processing

Olivier Aumage 10 年之前
父節點
當前提交
00f8049b66
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      configure.ac

+ 2 - 2
configure.ac

@@ -128,9 +128,9 @@ AM_CONDITIONAL([STARPU_CROSS_COMPILING], [test "x$cross_compiling" = "xyes"])
 ###############################################################################
 
 AC_ARG_ENABLE(mic, [AS_HELP_STRING([--enable-mic],
-	      [use MIC device(s)])], [enable_mic=yes], [enable_mic=no])
+	      [use MIC device(s)])], [enable_mic=$enableval], [enable_mic=no])
 AC_ARG_ENABLE(mic-rma, [AS_HELP_STRING([--disable-mic-rma],
-	      [use MIC RMA transfer])], [], [enable_mic_rma=yes])
+	      [use MIC RMA transfer])], [enable_mic_rma=$enableval], [enable_mic_rma=yes])
 
 if test x$enable_mic = xyes ; then
 	AC_DEFINE(STARPU_USE_MIC, [1], [MIC workers support is enabled])