aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-09 12:46:11 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-03-09 12:46:11 -0500
commitb689b69f6c3b8a8ba633d6300cef6a19972d53dc (patch)
treef3b4a14761bb8ad74aa408ea0f08e961c2e8e7a7 /configure
parenttesting (diff)
downloadfirejail-b689b69f6c3b8a8ba633d6300cef6a19972d53dc.tar.gz
firejail-b689b69f6c3b8a8ba633d6300cef6a19972d53dc.tar.zst
firejail-b689b69f6c3b8a8ba633d6300cef6a19972d53dc.zip
make --private-lib a compile time option, disabled by default
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure b/configure
index c40a794e9..dd210cd67 100755
--- a/configure
+++ b/configure
@@ -641,6 +641,7 @@ HAVE_USERNS
641HAVE_NETWORK 641HAVE_NETWORK
642HAVE_GLOBALCFG 642HAVE_GLOBALCFG
643HAVE_CHROOT 643HAVE_CHROOT
644HAVE_PRIVATE_LIB
644HAVE_PRIVATE_HOME 645HAVE_PRIVATE_HOME
645HAVE_FIRETUNNEL 646HAVE_FIRETUNNEL
646HAVE_GAWK 647HAVE_GAWK
@@ -719,6 +720,7 @@ enable_usertmpfs
719enable_man 720enable_man
720enable_firetunnel 721enable_firetunnel
721enable_private_home 722enable_private_home
723enable_private_lib
722enable_chroot 724enable_chroot
723enable_globalcfg 725enable_globalcfg
724enable_network 726enable_network
@@ -1380,6 +1382,7 @@ Optional Features:
1380 --disable-man disable man pages 1382 --disable-man disable man pages
1381 --enable-firetunnel enable firetunnel 1383 --enable-firetunnel enable firetunnel
1382 --disable-private-home disable private home feature 1384 --disable-private-home disable private home feature
1385 --disable-private-lib disable private lib feature
1383 --disable-chroot disable chroot 1386 --disable-chroot disable chroot
1384 --disable-globalcfg if the global config file firejail.config is not 1387 --disable-globalcfg if the global config file firejail.config is not
1385 present, continue the program using defaults 1388 present, continue the program using defaults
@@ -3485,6 +3488,19 @@ if test "x$enable_private_home" != "xno"; then :
3485 3488
3486fi 3489fi
3487 3490
3491HAVE_PRIVATE_LIB=""
3492
3493# Check whether --enable-private-lib was given.
3494if test "${enable_private_lib+set}" = set; then :
3495 enableval=$enable_private_lib;
3496fi
3497
3498if test "x$enable_private_lib" = "xyes"; then :
3499
3500 HAVE_PRIVATE_LIB="-DHAVE_PRIVATE_LIB"
3501
3502fi
3503
3488HAVE_CHROOT="" 3504HAVE_CHROOT=""
3489 3505
3490# Check whether --enable-chroot was given. 3506# Check whether --enable-chroot was given.
@@ -3674,6 +3690,7 @@ if test "x$enable_lts" = "xyes"; then :
3674 HAVE_MAN="-DHAVE_MAN" 3690 HAVE_MAN="-DHAVE_MAN"
3675 HAVE_FIRETUNNEL="" 3691 HAVE_FIRETUNNEL=""
3676 HAVE_PRIVATE_HOME="" 3692 HAVE_PRIVATE_HOME=""
3693 HAVE_PRIVATE_LIB=""
3677 HAVE_CHROOT="" 3694 HAVE_CHROOT=""
3678 HAVE_GLOBALCFG="" 3695 HAVE_GLOBALCFG=""
3679 HAVE_USERNS="" 3696 HAVE_USERNS=""
@@ -5291,6 +5308,7 @@ Features:
5291 network: $HAVE_NETWORK 5308 network: $HAVE_NETWORK
5292 overlayfs support: $HAVE_OVERLAYFS 5309 overlayfs support: $HAVE_OVERLAYFS
5293 private home support: $HAVE_PRIVATE_HOME 5310 private home support: $HAVE_PRIVATE_HOME
5311 private lib support: $HAVE_PRIVATE_LIB
5294 SELinux labeling support: $HAVE_SELINUX 5312 SELinux labeling support: $HAVE_SELINUX
5295 user namespace: $HAVE_USERNS 5313 user namespace: $HAVE_USERNS
5296 X11 sandboxing support: $HAVE_X11 5314 X11 sandboxing support: $HAVE_X11