From: Colin Patrick McCabe Date: Mon, 28 Feb 2011 15:42:00 +0000 (-0800) Subject: do_autogen: add -P (--with-profiler) X-Git-Tag: v0.26~254^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=18e9b66eddb23d05748a78213a6c44907dbfe03d;p=ceph.git do_autogen: add -P (--with-profiler) Signed-off-by: Colin McCabe --- diff --git a/do_autogen.sh b/do_autogen.sh index ba57bfd3eaac..4a9355c1fac5 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -26,7 +26,7 @@ debug_level=0 verbose=0 CFLAGS="" CXXFLAGS="" -while getopts "36d:hv" flag +while getopts "36d:hPv" flag do case $flag in 3) CFLAGS="$CFLAGS -m32";; @@ -35,6 +35,8 @@ do d) debug_level=$OPTARG;; + P) with_profiler="--with-profiler ";; + h) usage exit 0;; @@ -93,5 +95,5 @@ export CXXFLAGS ./configure \ --prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc \ ---with-gtk2=yes --with-debug \ +--with-gtk2=yes --with-debug $with_profiler \ || die "configure failed"