diff options
author | Ben Byer <bbyer@bbyer.apple.com> | 2007-09-18 20:37:09 -0700 |
---|---|---|
committer | Ben Byer <bbyer@bbyer.apple.com> | 2007-09-18 20:37:09 -0700 |
commit | 7a4ec34e256bf36b041c011a083916ad75a1d8bc (patch) | |
tree | 554d91652b999913aed8c08493b61a2dc7e5bc93 | |
parent | 3c19ec47b434d4ca84db58363cc053cc0b6aa413 (diff) |
XDarwin: Disable dtrace support on Darwin 9 (since it doesn't work ... yet ...)
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fc6dd580f..6e7ed056f 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,13 @@ dnl Check for dtrace program (needed to build Xserver dtrace probes) AC_ARG_WITH(dtrace, AS_HELP_STRING([--with-dtrace=PATH], [Enable dtrace probes (default: enabled if dtrace found)]), [WDTRACE=$withval], [WDTRACE=auto]) +dnl Darwin 9 has dtrace, but it doesn't support compilation into ELF... +if test "x$WDTRACE" = xauto; then + case $host_os in + darwin*) WDTRACE="no" ;; + *) WDTRACE="yes" ;; + esac +fi if test "x$WDTRACE" = "xyes" -o "x$WDTRACE" = "xauto" ; then AC_PATH_PROG(DTRACE, [dtrace], [not_found], [$PATH:/usr/sbin]) if test "x$DTRACE" = "xnot_found" ; then |