aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar Dmitry Chestnykh <d.chestnyh@omp.ru>2022-02-25 10:33:58 +0300
committerLibravatar Dmitry Chestnyh <d.chestnyh@omp.ru>2022-02-28 23:26:36 +0300
commitc238147fc1728bbd3479dd059049b4cfce54c7b8 (patch)
tree3b424cbcadc1ec2f67565f7b364a5ce96b993983 /configure
parentRELNOTES: add bugfix/ci/docs (diff)
downloadfirejail-c238147fc1728bbd3479dd059049b4cfce54c7b8.tar.gz
firejail-c238147fc1728bbd3479dd059049b4cfce54c7b8.tar.zst
firejail-c238147fc1728bbd3479dd059049b4cfce54c7b8.zip
Add ability to disable user profiles at compile time.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure b/configure
index 716418785..6611a8817 100755
--- a/configure
+++ b/configure
@@ -628,6 +628,7 @@ EGREP
628GREP 628GREP
629CPP 629CPP
630HAVE_LTS 630HAVE_LTS
631HAVE_ONLY_SYSCFG_PROFILES
631HAVE_FORCE_NONEWPRIVS 632HAVE_FORCE_NONEWPRIVS
632HAVE_CONTRIB_INSTALL 633HAVE_CONTRIB_INSTALL
633HAVE_GCOV 634HAVE_GCOV
@@ -732,6 +733,7 @@ enable_busybox_workaround
732enable_gcov 733enable_gcov
733enable_contrib_install 734enable_contrib_install
734enable_force_nonewprivs 735enable_force_nonewprivs
736enable_only_syscfg_profiles
735enable_lts 737enable_lts
736' 738'
737 ac_precious_vars='build_alias 739 ac_precious_vars='build_alias
@@ -1395,6 +1397,8 @@ Optional Features:
1395 install contrib scripts 1397 install contrib scripts
1396 --enable-force-nonewprivs 1398 --enable-force-nonewprivs
1397 enable force nonewprivs 1399 enable force nonewprivs
1400 --enable-only-syscfg-profiles
1401 disable profiles in $HOME/.config/firejail
1398 --enable-lts enable long-term support software version (LTS) 1402 --enable-lts enable long-term support software version (LTS)
1399 1403
1400Some influential environment variables: 1404Some influential environment variables:
@@ -3830,6 +3834,19 @@ if test "x$enable_force_nonewprivs" = "xyes"; then :
3830 3834
3831fi 3835fi
3832 3836
3837HAVE_ONLY_SYSCFG_PROFILES=""
3838
3839# Check whether --enable-only-syscfg-profiles was given.
3840if test "${enable_only_syscfg_profiles+set}" = set; then :
3841 enableval=$enable_only_syscfg_profiles;
3842fi
3843
3844if test "x$enable_only_syscfg_profiles" = "xyes"; then :
3845
3846 HAVE_ONLY_SYSCFG_PROFILES="-DHAVE_ONLY_SYSCFG_PROFILES"
3847
3848fi
3849
3833HAVE_LTS="" 3850HAVE_LTS=""
3834 3851
3835# Check whether --enable-lts was given. 3852# Check whether --enable-lts was given.
@@ -5497,6 +5514,7 @@ Configuration options:
5497 Install as a SUID executable: $HAVE_SUID 5514 Install as a SUID executable: $HAVE_SUID
5498 LTS: $HAVE_LTS 5515 LTS: $HAVE_LTS
5499 Always enforce filters: $HAVE_FORCE_NONEWPRIVS 5516 Always enforce filters: $HAVE_FORCE_NONEWPRIVS
5517 Disable user profiles: $HAVE_ONLY_SYSCFG_PROFILES
5500 5518
5501EOF 5519EOF
5502 5520