aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-09-28 08:22:25 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-09-28 08:22:25 -0400
commit21337a0dc8b92559083358623c840f65309a79a4 (patch)
treed0e28dede6986f4567f765782e45ec3909e36e86 /configure
parentMerge pull request #3642 from netblue30/rusty-snake-patch-1 (diff)
downloadfirejail-21337a0dc8b92559083358623c840f65309a79a4.tar.gz
firejail-21337a0dc8b92559083358623c840f65309a79a4.tar.zst
firejail-21337a0dc8b92559083358623c840f65309a79a4.zip
compile support for GCC static analyzer (--enable-analyzer)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index 2ca71d3e2..5b0d70d52 100755
--- a/configure
+++ b/configure
@@ -705,6 +705,7 @@ SHELL'
705ac_subst_files='' 705ac_subst_files=''
706ac_user_opts=' 706ac_user_opts='
707enable_option_checking 707enable_option_checking
708enable_analyzer
708enable_apparmor 709enable_apparmor
709enable_dbusproxy 710enable_dbusproxy
710enable_overlayfs 711enable_overlayfs
@@ -1358,6 +1359,7 @@ Optional Features:
1358 --disable-option-checking ignore unrecognized --enable/--with options 1359 --disable-option-checking ignore unrecognized --enable/--with options
1359 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1360 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1360 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1361 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1362 --enable-analyzer enable GCC 10 static analyzer
1361 --enable-apparmor enable apparmor 1363 --enable-apparmor enable apparmor
1362 --disable-dbusproxy disable dbus proxy 1364 --disable-dbusproxy disable dbus proxy
1363 --disable-overlayfs disable overlayfs 1365 --disable-overlayfs disable overlayfs
@@ -3269,6 +3271,17 @@ else
3269fi 3271fi
3270 3272
3271 3273
3274# Check whether --enable-analyzer was given.
3275if test "${enable_analyzer+set}" = set; then :
3276 enableval=$enable_analyzer;
3277fi
3278
3279if test "x$enable_analyzer" = "xyes"; then :
3280
3281 EXTRA_CFLAGS+=" -fanalyzer"
3282
3283fi
3284
3272HAVE_APPARMOR="" 3285HAVE_APPARMOR=""
3273# Check whether --enable-apparmor was given. 3286# Check whether --enable-apparmor was given.
3274if test "${enable_apparmor+set}" = set; then : 3287if test "${enable_apparmor+set}" = set; then :