Browse Source

fix configure

Andra Hugo 13 years ago
parent
commit
759d70236a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -238,11 +238,11 @@ AC_ARG_ENABLE([sched_ctx_hypervisor],
   [enable_sched_ctx_hypervisor="yes"],
   [enable_sched_ctx_hypervisor="yes"],
   [enable_sched_ctx_hypervisor="no"])
   [enable_sched_ctx_hypervisor="no"])
 
 
+AC_SUBST(STARPU_SCHED_CTX_HYPERVISOR)
 if test "x$enable_sched_ctx_hypervisor" = "xyes"; then
 if test "x$enable_sched_ctx_hypervisor" = "xyes"; then
   AC_DEFINE(STARPU_USE_SCHED_CTX_HYPERVISOR, [1], [enable sched_ctx_hypervisor lib])
   AC_DEFINE(STARPU_USE_SCHED_CTX_HYPERVISOR, [1], [enable sched_ctx_hypervisor lib])
 #   PKG_CHECK_MODULES([SCHED_CTX_HYPERVISOR], [libsched_ctx_hypervisor], [], build_sched_ctx_hypervisor="yes")
 #   PKG_CHECK_MODULES([SCHED_CTX_HYPERVISOR], [libsched_ctx_hypervisor], [], build_sched_ctx_hypervisor="yes")
    STARPU_SCHED_CTX_HYPERVISOR="-lsched_ctx_hypervisor"
    STARPU_SCHED_CTX_HYPERVISOR="-lsched_ctx_hypervisor"
-#   AC_SUBST(STARPU_USE_SCHED_CTX_HYPERVISOR, $enable_sched_ctx_hypervisor)
    build_sched_ctx_hypervisor="yes"
    build_sched_ctx_hypervisor="yes"
 else
 else
    build_sched_ctx_hypervisor="no"
    build_sched_ctx_hypervisor="no"