Policy dir follows prefix if not explicitly set

This commit is contained in:
Jon Siwek 2010-11-16 17:04:47 -06:00
parent 15063b73fe
commit 90be6b5e7d

4
configure vendored
View file

@ -101,9 +101,13 @@ 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 [ "$user_set_policydir" != "true" ]; then
append_cache_entry POLICYDIR STRING $optarg/share/bro
fi
;; ;;
--policydir=*) --policydir=*)
append_cache_entry POLICYDIR STRING $optarg append_cache_entry POLICYDIR STRING $optarg
user_set_policydir="true"
;; ;;
--enable-debug) --enable-debug)
append_cache_entry ENABLE_DEBUG BOOL true append_cache_entry ENABLE_DEBUG BOOL true