Commit e6a37c03 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Redirect grep test output to /dev/null

parent d934514f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ EOF
m4_define(
  [M4_DETECT_HDF5],
  [
    export -p | grep HDF5_ROOT
    export -p | grep HDF5_ROOT > /dev/null
    result=$?
    if test "x$result" = "x0"; then
      if test "x$HDF5_INCLUDE" = "x"; then
@@ -32,7 +32,7 @@ m4_define(
        export HDF5_LIB=${HDF5_ROOT}/lib
      fi
    fi
    export -p | grep HDF5_DIR
    export -p | grep HDF5_DIR > /dev/null
    result=$?
    if test "x$result" = "x0"; then
      if test "x$HDF5_INCLUDE" = "x"; then
@@ -54,7 +54,7 @@ m4_define(
m4_define(
  [M4_DETECT_LAPACK],
  [
    export -p | grep MKL
    export -p | grep MKL > /dev/null
    MKL_DEF=$?
    if test "x$MKL_DEF" = "x0"; then
      export LAPACKFLAGS="-DUSE_LAPACK -DUSE_MKL -DLAPACK_ILP64 -DUSE_ILP64 -I{MKLROOT}/include"
@@ -77,7 +77,7 @@ m4_define(
    elif test -f /usr/include/cuda.h; then
      CUDAFLAGS="-I/usr/include"
      CUDALDFLAGS="-lcudart"
    elif text "x$CUDA_HOME" != "x"; then
    elif test "x$CUDA_HOME" != "x"; then
      CUDAFLAGS="-I${CUDA_HOME}/include"
      CUDALDFLAGS="-L${CUDA_HOME}/lib64 -lcudart"
    fi