From 7684ee25ac21810153a44bdc4fc00b36e39eb12f Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 2 Apr 2015 10:34:02 -0400 Subject: [PATCH] allow -L to disable lttng. Enable it by default Signed-off-by: Alfredo Deza --- do_autogen.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/do_autogen.sh b/do_autogen.sh index 03b5dd2b9bf7..5391de910460 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -10,6 +10,7 @@ do_autogen.sh: make a ceph build by running autogen, etc. level 1: -g level 3: -Wextra level 4: even more... +-L --without-lttng -T --without-tcmalloc -e dump encoded objects to -P profiling build @@ -30,8 +31,8 @@ die() { debug_level=0 verbose=0 profile=0 -CONFIGURE_FLAGS="--disable-static" -while getopts "d:e:hHrTPjpnvO:" flag +CONFIGURE_FLAGS="--disable-static --with-lttng" +while getopts "d:e:hHrTPLjpnvO:" flag do case $flag in d) debug_level=$OPTARG;; @@ -56,6 +57,8 @@ do e) encode_dump=$OPTARG;; + L) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --without-lttng";; + *) echo usage -- 2.47.3