Explorar el Código

configure.ac: set hwloc as not available when option --without-hwloc is specified

Nathalie Furmento hace 14 años
padre
commit
e58cc8be56
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      configure.ac

+ 2 - 1
configure.ac

@@ -1278,7 +1278,8 @@ AS_IF([test "x$with_hwloc" != "xno"], [
 		LDFLAGS="${SAVED_LDFLAGS} -L$hwloc_dir/lib"
 		AC_HAVE_LIBRARY([hwloc],[have_valid_hwloc=yes],[have_valid_hwloc=no])
 		])
-    ])
+    ],
+    have_valid_hwloc="no")
 AS_IF([test "$have_valid_hwloc" = "yes"], [
 	AC_DEFINE([STARPU_HAVE_HWLOC], [1], [Define to 1 if you have the hwloc library.])
 	HWLOC_REQUIRES=hwloc