|
@@ -803,18 +803,15 @@ if test x$use_fxt = xyes; then
|
|
AC_DEFINE(STARPU_USE_FXT, [1], [enable FxT traces])
|
|
AC_DEFINE(STARPU_USE_FXT, [1], [enable FxT traces])
|
|
AC_DEFINE(CONFIG_FUT, [1], [enable FUT traces])
|
|
AC_DEFINE(CONFIG_FUT, [1], [enable FUT traces])
|
|
|
|
|
|
- AC_SUBST(USE_FXTDIR_FROM_USER,$use_fxt_from_system)
|
|
|
|
if test x$use_fxt_from_system = xno; then
|
|
if test x$use_fxt_from_system = xno; then
|
|
CPPFLAGS="${CPPFLAGS} -I$fxtdir/include/ "
|
|
CPPFLAGS="${CPPFLAGS} -I$fxtdir/include/ "
|
|
LDFLAGS="${LDFLAGS} -L$fxtdir/lib/ "
|
|
LDFLAGS="${LDFLAGS} -L$fxtdir/lib/ "
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ PKG_CHECK_MODULES([FXT], [fxt])
|
|
|
|
+
|
|
# if we use monotonic clocks, FxT uses -lrt
|
|
# if we use monotonic clocks, FxT uses -lrt
|
|
AC_CHECK_LIB(rt, clock_gettime,,AC_MSG_ERROR([cannot find clock_gettime]))
|
|
AC_CHECK_LIB(rt, clock_gettime,,AC_MSG_ERROR([cannot find clock_gettime]))
|
|
-
|
|
|
|
- AC_CHECK_LIB(fxt, fut_setup,,AC_MSG_ERROR([cannot find fxt lib]))
|
|
|
|
- AC_CHECK_HEADER([fxt/fxt.h],,AC_MSG_ERROR([cannot find headers for fxt]))
|
|
|
|
- AC_CHECK_HEADER([fxt/fut.h],,AC_MSG_ERROR([cannot find headers for fxt]))
|
|
|
|
fi
|
|
fi
|
|
|
|
|
|
AC_MSG_CHECKING(whether performance debugging should be enabled)
|
|
AC_MSG_CHECKING(whether performance debugging should be enabled)
|