aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
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.ac
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.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0ae9362cc..4ca30e6d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -237,6 +237,14 @@ AS_IF([test "x$enable_force_nonewprivs" = "xyes"], [
237 HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" 237 HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS"
238]) 238])
239 239
240HAVE_ONLY_SYSCFG_PROFILES=""
241AC_SUBST([HAVE_ONLY_SYSCFG_PROFILES])
242AC_ARG_ENABLE([only-syscfg-profiles],
243 [AS_HELP_STRING([--enable-only-syscfg-profiles], [disable profiles in $HOME/.config/firejail])])
244AS_IF([test "x$enable_only_syscfg_profiles" = "xyes"], [
245 HAVE_ONLY_SYSCFG_PROFILES="-DHAVE_ONLY_SYSCFG_PROFILES"
246])
247
240HAVE_LTS="" 248HAVE_LTS=""
241AC_SUBST([HAVE_LTS]) 249AC_SUBST([HAVE_LTS])
242AC_ARG_ENABLE([lts], 250AC_ARG_ENABLE([lts],
@@ -305,6 +313,7 @@ Configuration options:
305 Install as a SUID executable: $HAVE_SUID 313 Install as a SUID executable: $HAVE_SUID
306 LTS: $HAVE_LTS 314 LTS: $HAVE_LTS
307 Always enforce filters: $HAVE_FORCE_NONEWPRIVS 315 Always enforce filters: $HAVE_FORCE_NONEWPRIVS
316 Disable user profiles: $HAVE_ONLY_SYSCFG_PROFILES
308 317
309EOF 318EOF
310 319