summaryrefslogtreecommitdiffstats
path: root/kmtrace/configure.in.in
blob: 5df3711ea71b25d5ac75ee7dfc720dc4b8acc87e (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