Add --libdir convenience flag to configure.

The flag sets the library installation directory.
This commit is contained in:
Johanna Amann 2019-10-30 10:42:16 -07:00
parent 82f656ec9c
commit f98d4cb9e9

4
configure vendored
View file

@ -34,6 +34,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
[PREFIX/spool]
--logdir=PATH when using ZeekControl, path to store log file
[PREFIX/logs]
--libdir=PATH installation directory for library files [PREFIX/lib]
--conf-files-dir=PATH config files installation directory [PREFIX/etc]
--mandir=PATH installation path for man pages [PREFIX/share/man]
@ -192,6 +193,9 @@ while [ $# -ne 0 ]; do
append_cache_entry ZEEK_ROOT_DIR PATH $optarg
append_cache_entry PY_MOD_INSTALL_DIR PATH $optarg/lib/zeekctl
;;
--libdir=*)
append_cache_entry CMAKE_INSTALL_LIBDIR PATH $optarg
;;
--scriptdir=*)
append_cache_entry ZEEK_SCRIPT_INSTALL_PATH STRING $optarg
user_set_scriptdir="true"