Browse Source

configure: Fix the default executable search path for CUDA.

Ludovic Courtès 14 years ago
parent
commit
c687a349e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -380,7 +380,7 @@ if test x$enable_cuda = xyes; then
 	fi
 
 	AC_PATH_PROG([NVCC], [nvcc], [not-found],
-	  [$cuda_dir/bin:$PATH:/usr/local/bin:/usr/bin:/bin])
+	  [$cuda_dir/bin:$PATH:/usr/local/cuda/bin:/usr/bin:/bin])
 	if test "x$NVCC" = "xnot-found"; then
 	   AC_MSG_WARN([`nvcc' not found, disabling CUDA])
 	   enable_cuda=no