Pārlūkot izejas kodu

fix warning when SOCL_OCL_LIB_OPENCL is empty

Samuel Thibault 9 gadi atpakaļ
vecāks
revīzija
70761986a6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -2325,7 +2325,7 @@ AM_CONDITIONAL([STARPU_USE_SOCL], [test "x$build_socl" = "xyes"])
 
 if test "$build_socl" = "yes" ; then
    AC_CHECK_FUNCS([clGetExtensionFunctionAddressForPlatform])
-   if test -n "$SOCL_OCL_LIB_OPENCL" -a -f $SOCL_OCL_LIB_OPENCL ; then
+   if test -n "$SOCL_OCL_LIB_OPENCL" -a -f "$SOCL_OCL_LIB_OPENCL" ; then
       run_socl_check=yes
       SOCL_OCL_LIB_OPENCL_DIR=$(dirname $SOCL_OCL_LIB_OPENCL)
       AC_SUBST(SOCL_OCL_LIB_OPENCL_DIR)