Fix configure warning when compiling with --enable-broker

We do no longer need to define BROKER_PYTHON_HOME, because as of
5bae0ee6f202038ad6ed74c1c2fdf1c07c81, broker uses PY_MOD_INSTALL_DIR as
the install location, which is already set.

Please note that this means that now the broker python bindings will be
installed to /lib/broctl instead of /lib/python.

Addresses BIT-1667
This commit is contained in:
Johanna Amann 2016-08-10 10:21:55 -07:00
parent f9f948f617
commit a3b7c91ba4

6
configure vendored
View file

@ -161,10 +161,6 @@ while [ $# -ne 0 ]; do
append_cache_entry CMAKE_INSTALL_PREFIX PATH $optarg append_cache_entry CMAKE_INSTALL_PREFIX PATH $optarg
append_cache_entry BRO_ROOT_DIR PATH $optarg append_cache_entry BRO_ROOT_DIR PATH $optarg
append_cache_entry PY_MOD_INSTALL_DIR PATH $optarg/lib/broctl append_cache_entry PY_MOD_INSTALL_DIR PATH $optarg/lib/broctl
if [ -n "$user_enabled_broker" ]; then
append_cache_entry BROKER_PYTHON_HOME PATH $optarg
fi
;; ;;
--scriptdir=*) --scriptdir=*)
append_cache_entry BRO_SCRIPT_INSTALL_PATH STRING $optarg append_cache_entry BRO_SCRIPT_INSTALL_PATH STRING $optarg
@ -201,8 +197,6 @@ while [ $# -ne 0 ]; do
;; ;;
--enable-broker) --enable-broker)
append_cache_entry ENABLE_BROKER BOOL true append_cache_entry ENABLE_BROKER BOOL true
append_cache_entry BROKER_PYTHON_HOME PATH $prefix
user_enabled_broker="true"
;; ;;
--disable-broker) --disable-broker)
;; ;;