From: Yunchuan Wen Date: Mon, 3 Aug 2015 13:03:47 +0000 (+0000) Subject: Allow do_autogen.sh to pass configure parameters X-Git-Tag: v9.1.0~454^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e28b3d111d35319c6f220a99cf4bfb5fd5ea9b92;p=ceph.git Allow do_autogen.sh to pass configure parameters Currently do_autogen.sh does not allow to pass parameters of configure to disable/enable components during building, which is not flexible, this patch add the ability to it. Signed-off-by: Yunchuan Wen Reviewed-by: Li Wang --- diff --git a/do_autogen.sh b/do_autogen.sh index 47b8611a670e..cef9482108ba 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -33,7 +33,7 @@ debug_level=0 verbose=0 profile=0 CONFIGURE_FLAGS="--disable-static --with-lttng" -while getopts "d:e:hHrTPJLjpcvO:" flag +while getopts "d:e:hHrTPJLjpcvO:C:" flag do case $flag in d) debug_level=$OPTARG;; @@ -42,6 +42,8 @@ do c) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-cryptopp --without-nss";; + C) CONFIGURE_FLAGS="$CONFIGURE_FLAGS $OPTARG";; + P) profile=1;; p) with_profiler="--with-profiler" ;;