Bladeren bron

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

Nathalie Furmento 14 jaren geleden
bovenliggende
commit
e58cc8be56
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  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