Skip to content

Commit

Permalink
Allow do_autogen.sh to pass configure parameters
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Li Wang <[email protected]>
  • Loading branch information
Yunchuan Wen committed Aug 3, 2015
1 parent ef86e29 commit e28b3d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion do_autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;;
Expand All @@ -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" ;;

Expand Down

0 comments on commit e28b3d1

Please sign in to comment.