summaryrefslogtreecommitdiffstats
path: root/kmtrace/configure.in.in
blob: 6270df4e7b400f201e1e55a18b6a0e03ab413a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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