aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@protonmail.com>2021-02-28 10:26:08 -0500
committerLibravatar startx2017 <vradu.startx@protonmail.com>2021-02-28 10:26:08 -0500
commitd1acb31c9714fe503082a890f1754f2026e71ee5 (patch)
tree1946a929c6c7bcc47bc04e1b988966d60f364b48 /configure
parentcompile time: disable --output (diff)
downloadfirejail-d1acb31c9714fe503082a890f1754f2026e71ee5.tar.gz
firejail-d1acb31c9714fe503082a890f1754f2026e71ee5.tar.zst
firejail-d1acb31c9714fe503082a890f1754f2026e71ee5.zip
compile time: enable LTS
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure100
1 files changed, 89 insertions, 11 deletions
diff --git a/configure b/configure
index fc8048ffb..952f7af9b 100755
--- a/configure
+++ b/configure
@@ -627,7 +627,7 @@ LIBOBJS
627EGREP 627EGREP
628GREP 628GREP
629CPP 629CPP
630HAVE_SELINUX 630HAVE_LTS
631HAVE_CONTRIB_INSTALL 631HAVE_CONTRIB_INSTALL
632HAVE_GCOV 632HAVE_GCOV
633BUSYBOX_WORKAROUND 633BUSYBOX_WORKAROUND
@@ -650,6 +650,7 @@ HAVE_OVERLAYFS
650HAVE_DBUSPROXY 650HAVE_DBUSPROXY
651EXTRA_LDFLAGS 651EXTRA_LDFLAGS
652EXTRA_CFLAGS 652EXTRA_CFLAGS
653HAVE_SELINUX
653HAVE_APPARMOR 654HAVE_APPARMOR
654AA_LIBS 655AA_LIBS
655AA_CFLAGS 656AA_CFLAGS
@@ -711,6 +712,7 @@ ac_user_opts='
711enable_option_checking 712enable_option_checking
712enable_analyzer 713enable_analyzer
713enable_apparmor 714enable_apparmor
715enable_selinux
714enable_dbusproxy 716enable_dbusproxy
715enable_output 717enable_output
716enable_usertmpfs 718enable_usertmpfs
@@ -729,7 +731,7 @@ enable_fatal_warnings
729enable_busybox_workaround 731enable_busybox_workaround
730enable_gcov 732enable_gcov
731enable_contrib_install 733enable_contrib_install
732enable_selinux 734enable_lts
733' 735'
734 ac_precious_vars='build_alias 736 ac_precious_vars='build_alias
735host_alias 737host_alias
@@ -1367,6 +1369,7 @@ Optional Features:
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --enable-analyzer enable GCC 10 static analyzer 1370 --enable-analyzer enable GCC 10 static analyzer
1369 --enable-apparmor enable apparmor 1371 --enable-apparmor enable apparmor
1372 --enable-selinux SELinux labeling support
1370 --disable-dbusproxy disable dbus proxy 1373 --disable-dbusproxy disable dbus proxy
1371 --disable-output disable --output logging 1374 --disable-output disable --output logging
1372 --disable-usertmpfs disable tmpfs as regular user 1375 --disable-usertmpfs disable tmpfs as regular user
@@ -1388,7 +1391,7 @@ Optional Features:
1388 --enable-gcov Gcov instrumentation 1391 --enable-gcov Gcov instrumentation
1389 --enable-contrib-install 1392 --enable-contrib-install
1390 install contrib scripts 1393 install contrib scripts
1391 --enable-selinux SELinux labeling support 1394 --enable-lts enable long-term support software version (LTS)
1392 1395
1393Some influential environment variables: 1396Some influential environment variables:
1394 CC C compiler command 1397 CC C compiler command
@@ -3514,6 +3517,20 @@ fi
3514 3517
3515fi 3518fi
3516 3519
3520HAVE_SELINUX=""
3521# Check whether --enable-selinux was given.
3522if test "${enable_selinux+set}" = set; then :
3523 enableval=$enable_selinux;
3524fi
3525
3526if test "x$enable_selinux" = "xyes"; then :
3527
3528 HAVE_SELINUX="-DHAVE_SELINUX"
3529 EXTRA_LDFLAGS+=" -lselinux "
3530
3531
3532fi
3533
3517 3534
3518 3535
3519 3536
@@ -3808,20 +3825,67 @@ else
3808fi 3825fi
3809 3826
3810 3827
3811HAVE_SELINUX="" 3828HAVE_LTS=""
3812# Check whether --enable-selinux was given. 3829# Check whether --enable-lts was given.
3813if test "${enable_selinux+set}" = set; then : 3830if test "${enable_lts+set}" = set; then :
3814 enableval=$enable_selinux; 3831 enableval=$enable_lts;
3815fi 3832fi
3816 3833
3817if test "x$enable_selinux" = "xyes"; then : 3834if test "x$enable_lts" = "xyes"; then :
3835
3836 HAVE_LTS="-DHAVE_LTS"
3837
3838
3839 HAVE_DBUSPROXY=""
3840
3841
3842 HAVE_OVERLAYFS=""
3843
3844
3845 HAVE_OUTPUT=""
3818 3846
3819 HAVE_SELINUX="-DHAVE_SELINUX" 3847
3820 EXTRA_LDFLAGS+=" -lselinux " 3848 HAVE_USERTMPFS=""
3849
3850
3851 HAVE_MAN="-DHAVE_MAN"
3852
3853
3854 HAVE_FIRETUNNEL=""
3855
3856
3857 HAVE_PRIVATEHOME=""
3858
3859
3860 HAVE_CHROOT=""
3861
3862
3863 HAVE_GLOBALCFG=""
3864
3865
3866 HAVE_USERNS=""
3867
3868
3869 HAVE_X11=""
3870
3871
3872 HAVE_FILE_TRANSFER=""
3873
3874
3875 HAVE_SUID="yes"
3876
3877
3878 BUSYBOX_WORKAROUND="no"
3879
3880
3881 HAVE_CONTRIB_INSTALL="no",
3821 3882
3822 3883
3823fi 3884fi
3824 3885
3886
3887
3888
3825# checking pthread library 3889# checking pthread library
3826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3827$as_echo_n "checking for main in -lpthread... " >&6; } 3891$as_echo_n "checking for main in -lpthread... " >&6; }
@@ -5485,6 +5549,7 @@ echo "Configuration options:"
5485echo " prefix: $prefix" 5549echo " prefix: $prefix"
5486echo " sysconfdir: $sysconfdir" 5550echo " sysconfdir: $sysconfdir"
5487echo " apparmor: $HAVE_APPARMOR" 5551echo " apparmor: $HAVE_APPARMOR"
5552echo " SELinux labeling support: $HAVE_SELINUX"
5488echo " global config: $HAVE_GLOBALCFG" 5553echo " global config: $HAVE_GLOBALCFG"
5489echo " chroot: $HAVE_CHROOT" 5554echo " chroot: $HAVE_CHROOT"
5490echo " network: $HAVE_NETWORK" 5555echo " network: $HAVE_NETWORK"
@@ -5506,6 +5571,19 @@ echo " EXTRA_CFLAGS: $EXTRA_CFLAGS"
5506echo " fatal warnings: $HAVE_FATAL_WARNINGS" 5571echo " fatal warnings: $HAVE_FATAL_WARNINGS"
5507echo " Gcov instrumentation: $HAVE_GCOV" 5572echo " Gcov instrumentation: $HAVE_GCOV"
5508echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL" 5573echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL"
5509echo " SELinux labeling support: $HAVE_SELINUX"
5510echo " Install as a SUID executable: $HAVE_SUID" 5574echo " Install as a SUID executable: $HAVE_SUID"
5575echo " LTS: $HAVE_LTS"
5511echo 5576echo
5577
5578
5579if test "$HAVE_LTS" = -DHAVE_LTS; then
5580 echo
5581 echo
5582 echo "*********************************************************"
5583 echo "* Warning: Long-term support (LTS) was enabled! *"
5584 echo "* Most compile-time options have bean rewritten! *"
5585 echo "*********************************************************"
5586 echo
5587 echo
5588fi
5589