Configure wrapper fixes for Broctl

Made order of --enable-broctl and --enable-cluster not matter.

--enable-cluster always enables Broctl in cluster configuration even if
the other option is used.

--enable-broctl will enable Broctl in standalone configuration only if
--enable-cluster isn't present.
This commit is contained in:
Jon Siwek 2010-11-19 11:28:43 -06:00
parent 552177c33a
commit 0878e9b8f1
2 changed files with 16 additions and 3 deletions

7
configure vendored
View file

@ -120,12 +120,15 @@ while [ $# -ne 0 ]; do
append_cache_entry INSTALL_BROCCOLI BOOL true
;;
--enable-broctl)
append_cache_entry INSTALL_BROCTL BOOL true
append_cache_entry STANDALONE BOOL true
if [ "$user_set_broctl_cluster" != "true" ]; then
append_cache_entry INSTALL_BROCTL BOOL true
append_cache_entry STANDALONE BOOL true
fi
;;
--enable-cluster)
append_cache_entry INSTALL_BROCTL BOOL true
append_cache_entry STANDALONE BOOL false
user_set_broctl_cluster="true"
;;
--enable-auxtools)
append_cache_entry INSTALL_AUX_TOOLS BOOL true