Przeglądaj źródła

configure.ac: improve information messages

Nathalie Furmento 14 lat temu
rodzic
commit
5fcf549c56
1 zmienionych plików z 7 dodań i 2 usunięć
  1. 7 2
      configure.ac

+ 7 - 2
configure.ac

@@ -222,7 +222,12 @@ AC_DEFUN([STARPU_CHECK_CUDA],
 [
     __cuda_dir=$1
 
-    AC_MSG_NOTICE("Checking CUDA is available in $__cuda_dir")
+    if test "$__cuda_dir" != "no" ; then
+	AC_MSG_CHECKING(whether CUDA is available in $__cuda_dir)
+    else
+	AC_MSG_CHECKING(whether CUDA is available)
+    fi
+    AC_MSG_RESULT()
 
     SAVED_LDFLAGS="${LDFLAGS}"
 
@@ -341,7 +346,7 @@ if test x$enable_cuda = xyes -o x$enable_cuda = xmaybe; then
 fi
 
 AC_MSG_CHECKING(whether CUDA should be used)
-AC_MSG_RESULT($enable_cuda ($CPPFLAGS - $LDFLAGS))
+AC_MSG_RESULT($enable_cuda)
 AC_SUBST(STARPU_USE_CUDA, $enable_cuda)
 AM_CONDITIONAL(STARPU_USE_CUDA, test x$enable_cuda = xyes)
 if test x$enable_cuda = xyes; then