diff --git a/build/configure.sh b/build/configure.sh index 5acd3c27e21d9164ba58962abe0e6a162949b7a5..0b06c58193ed3060304b877f9822e89fbbe1ce23 100755 --- a/build/configure.sh +++ b/build/configure.sh @@ -576,8 +576,7 @@ if [ "x$LAPACK" != "xno" ]; then fi # End of LAPACK checks # cuBLAS checks -if [ "xCUBLAS" != "xno" ]; then - echo -n "configure: checking for cuBLAS... " +if [ "x$CUBLAS" != "xno" ]; then pkg-config --version > /dev/null use_pkg_config=$? if [ "x${CUDAFLAGS}${CUDALDFLAGS}" = "x" ]; then