OpenBSD: no support for profiling

Local thread storage are not available so profiling is not supported.
pull/161/merge
Eric Leblond 13 years ago committed by Victor Julien
parent 7c85bee4aa
commit ac5bab8838

@ -291,7 +291,15 @@ AC_INIT(configure.ac)
AC_ARG_ENABLE(profiling,
AS_HELP_STRING([--enable-profiling], [Enable performance profiling]),,[enable_profiling=no])
AS_IF([test "x$enable_profiling" = "xyes"], [
CFLAGS="${CFLAGS} -DPROFILING"
case "$host" in
*-*-openbsd*)
AC_MSG_ERROR([profiling is not supported on OpenBSD])
;;
*)
CFLAGS="${CFLAGS} -DPROFILING"
;;
esac
])
# profiling support, locking

Loading…
Cancel
Save