dnl AC_OUTPUT( kmtrace/kminspector )

case "$host" in
   *-gnu*)
      saved_LIBS="$LIBS"
      LIBS="$LIBS -Wl,-Bstatic -liberty -Wl,-Bdynamic"
      AC_TRY_LINK([], [], [kde_compile_kmtrace=$GCC], [kde_compile_kmtrace=no])
      AC_SUBST(KMTRACE_LIBS, [$LIBS])
      LIBS="$saved_LIBS"
      ;;
   *)
      kde_compile_kmtrace=no
      ;;
esac

if test ! "x$kde_compile_kmtrace" = "xyes"; then
   DO_NOT_COMPILE="$DO_NOT_COMPILE kmtrace"
fi