From 0c1cd89b03aa3945d8472ca86a10d05d2a8d8028 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Tue, 10 Nov 2015 16:20:27 +0530 Subject: build: Remove systemtap references from source We don't actually support systemtap. And so it is confusing to have --enable-systemtap configure option in configure.ac. This patch removes the systemtap option and corresponding references from other files which include INSTALL, spec.in, docs etc. Change-Id: I719c22ca36f41a2faca156f8e41daea44e64b65e BUG: 1198849 Signed-off-by: Anoop C S Reviewed-on: http://review.gluster.org/12565 Reviewed-by: Niels de Vos Tested-by: NetBSD Build System Tested-by: Gluster Build System --- configure.ac | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 08403bd1434..6c22e0940b4 100644 --- a/configure.ac +++ b/configure.ac @@ -775,38 +775,6 @@ AC_SUBST(SQLITE_LIBS) AM_CONDITIONAL(BUILD_GFDB, test "x${BUILD_GFDB}" = "xyes") AM_CONDITIONAL(USE_GFDB, test "x${BUILD_GFDB}" = "xyes") -# check for systemtap/dtrace -BUILD_SYSTEMTAP=no -AC_MSG_CHECKING([whether to include systemtap tracing support]) -AC_ARG_ENABLE([systemtap], - [AS_HELP_STRING([--enable-systemtap], - [Enable inclusion of systemtap trace support])], - [ENABLE_SYSTEMTAP="${enableval}"], [ENABLE_SYSTEMTAP="def"]) - -AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test "x${ENABLE_SYSTEMTAP}" = "xyes"]) -AC_MSG_RESULT(${ENABLE_SYSTEMTAP}) - -if test "x${ENABLE_SYSTEMTAP}" != "xno"; then - AC_CHECK_PROG(DTRACE, dtrace, "yes", "no") - AC_CHECK_HEADER([sys/sdt.h], [SDT_H_FOUND="yes"], - [SDT_H_FOUND="no"]) -fi - -if test "x${ENABLE_SYSTEMTAP}" = "xyes"; then - if test "x${DTRACE}" = "xno"; then - AC_MSG_ERROR([dtrace not found]) - elif test "$x{SDT_H_FOUND}" = "xno"; then - AC_MSG_ERROR([systemtap support needs sys/sdt.h header]) - fi -fi - -if test "x${DTRACE}" = "xyes" -a "x${SDT_H_FOUND}" = "xyes"; then - AC_MSG_CHECKING([x"${DTRACE}"xy"${SDT_H_FOUND}"y]) - AC_DEFINE([HAVE_SYSTEMTAP], [1], [Define to 1 if using probes.]) - BUILD_SYSTEMTAP=yes -fi -# end of systemtap/dtrace - # xml-output AC_ARG_ENABLE([xml-output], AC_HELP_STRING([--disable-xml-output], @@ -1372,7 +1340,6 @@ echo "readline : $BUILD_READLINE" echo "georeplication : $BUILD_SYNCDAEMON" echo "Linux-AIO : $BUILD_LIBAIO" echo "Enable Debug : $BUILD_DEBUG" -## echo "systemtap : $BUILD_SYSTEMTAP" echo "Block Device xlator : $BUILD_BD_XLATOR" echo "glupy : $BUILD_GLUPY" echo "Use syslog : $USE_SYSLOG" -- cgit