]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
allow -L to disable lttng. Enable it by default 4261/head
authorAlfredo Deza <adeza@redhat.com>
Thu, 2 Apr 2015 14:34:02 +0000 (10:34 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 2 Apr 2015 14:34:02 +0000 (10:34 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
do_autogen.sh

index 03b5dd2b9bf72927387e45f05f34e0e095801b95..5391de910460d5d75ef672072a16235419ba9537 100755 (executable)
@@ -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 <path>                        dump encoded objects to <path>
 -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