diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -54,6 +54,7 @@ configure help for eurephia --debug | -D -- Enable verbose debug logging --show-secrets | -S -- Log passwords as clear text in log files | (only available when debug is enabled) + --gcov | -- Enable gcov during building ** Plug-in options --plug-in | -p -- Build the eurephia plug-in for OpenVPN @@ -83,6 +84,7 @@ ADMIN=""; OPENVPN_SRC_DIR="" PLUGIN="" CONFIGUREPARAMS="$*" +GCOV="" # Parse all arguments while [ ! -z "$1" ]; do @@ -131,6 +133,10 @@ while [ ! -z "$1" ]; do PARAMS="${PARAMS} -DSHOW_SECRETS=ON" SECRETS_WARN=1 ;; + --gcov) + PARAMS="${PARAMS} -DGCOV=ON" + GCOV=1 + ;; -p|--plug-in) PARAMS="${PARAMS} -DPLUGIN=ON" PLUGIN="eurephia-auth" @@ -245,6 +251,10 @@ EOF echo " SQLite3 database path: ${SQLITE3PREFIX}" fi + if [ "$GCOV" = "1" ]; then + echo + echo "eurephia will be built with gcov. This may have a performance impact" + fi echo echo # Make sure user is aware of enabled debug features. |