aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure141
1 files changed, 128 insertions, 13 deletions
diff --git a/configure b/configure
index 2c00dedaf..e5e0dcc0d 100755
--- a/configure
+++ b/configure
@@ -627,7 +627,8 @@ LIBOBJS
627EGREP 627EGREP
628GREP 628GREP
629CPP 629CPP
630HAVE_SELINUX 630HAVE_LTS
631HAVE_FORCE_NONEWPRIVS
631HAVE_CONTRIB_INSTALL 632HAVE_CONTRIB_INSTALL
632HAVE_GCOV 633HAVE_GCOV
633BUSYBOX_WORKAROUND 634BUSYBOX_WORKAROUND
@@ -645,10 +646,12 @@ HAVE_FIRETUNNEL
645HAVE_GAWK 646HAVE_GAWK
646HAVE_MAN 647HAVE_MAN
647HAVE_USERTMPFS 648HAVE_USERTMPFS
649HAVE_OUTPUT
648HAVE_OVERLAYFS 650HAVE_OVERLAYFS
649HAVE_DBUSPROXY 651HAVE_DBUSPROXY
650EXTRA_LDFLAGS 652EXTRA_LDFLAGS
651EXTRA_CFLAGS 653EXTRA_CFLAGS
654HAVE_SELINUX
652HAVE_APPARMOR 655HAVE_APPARMOR
653AA_LIBS 656AA_LIBS
654AA_CFLAGS 657AA_CFLAGS
@@ -710,7 +713,9 @@ ac_user_opts='
710enable_option_checking 713enable_option_checking
711enable_analyzer 714enable_analyzer
712enable_apparmor 715enable_apparmor
716enable_selinux
713enable_dbusproxy 717enable_dbusproxy
718enable_output
714enable_usertmpfs 719enable_usertmpfs
715enable_man 720enable_man
716enable_firetunnel 721enable_firetunnel
@@ -727,7 +732,8 @@ enable_fatal_warnings
727enable_busybox_workaround 732enable_busybox_workaround
728enable_gcov 733enable_gcov
729enable_contrib_install 734enable_contrib_install
730enable_selinux 735enable_force_nonewprivs
736enable_lts
731' 737'
732 ac_precious_vars='build_alias 738 ac_precious_vars='build_alias
733host_alias 739host_alias
@@ -1365,7 +1371,9 @@ Optional Features:
1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366 --enable-analyzer enable GCC 10 static analyzer 1372 --enable-analyzer enable GCC 10 static analyzer
1367 --enable-apparmor enable apparmor 1373 --enable-apparmor enable apparmor
1374 --enable-selinux SELinux labeling support
1368 --disable-dbusproxy disable dbus proxy 1375 --disable-dbusproxy disable dbus proxy
1376 --disable-output disable --output logging
1369 --disable-usertmpfs disable tmpfs as regular user 1377 --disable-usertmpfs disable tmpfs as regular user
1370 --disable-man disable man pages 1378 --disable-man disable man pages
1371 --disable-firetunnel disable firetunnel 1379 --disable-firetunnel disable firetunnel
@@ -1385,7 +1393,9 @@ Optional Features:
1385 --enable-gcov Gcov instrumentation 1393 --enable-gcov Gcov instrumentation
1386 --enable-contrib-install 1394 --enable-contrib-install
1387 install contrib scripts 1395 install contrib scripts
1388 --enable-selinux SELinux labeling support 1396 --enable-force-nonewprivs
1397 enable force nonewprivs
1398 --enable-lts enable long-term support software version (LTS)
1389 1399
1390Some influential environment variables: 1400Some influential environment variables:
1391 CC C compiler command 1401 CC C compiler command
@@ -3511,6 +3521,20 @@ fi
3511 3521
3512fi 3522fi
3513 3523
3524HAVE_SELINUX=""
3525# Check whether --enable-selinux was given.
3526if test "${enable_selinux+set}" = set; then :
3527 enableval=$enable_selinux;
3528fi
3529
3530if test "x$enable_selinux" = "xyes"; then :
3531
3532 HAVE_SELINUX="-DHAVE_SELINUX"
3533 EXTRA_LDFLAGS+=" -lselinux "
3534
3535
3536fi
3537
3514 3538
3515 3539
3516 3540
@@ -3539,6 +3563,19 @@ HAVE_OVERLAYFS=""
3539# AC_SUBST(HAVE_OVERLAYFS) 3563# AC_SUBST(HAVE_OVERLAYFS)
3540#]) 3564#])
3541 3565
3566HAVE_OUTPUT=""
3567# Check whether --enable-output was given.
3568if test "${enable_output+set}" = set; then :
3569 enableval=$enable_output;
3570fi
3571
3572if test "x$enable_output" != "xno"; then :
3573
3574 HAVE_OUTPUT="-DHAVE_OUTPUT"
3575
3576
3577fi
3578
3542HAVE_USERTMPFS="" 3579HAVE_USERTMPFS=""
3543# Check whether --enable-usertmpfs was given. 3580# Check whether --enable-usertmpfs was given.
3544if test "${enable_usertmpfs+set}" = set; then : 3581if test "${enable_usertmpfs+set}" = set; then :
@@ -3792,20 +3829,80 @@ else
3792fi 3829fi
3793 3830
3794 3831
3795HAVE_SELINUX="" 3832HAVE_FORCE_NONEWPRIVS=""
3796# Check whether --enable-selinux was given. 3833# Check whether --enable-force-nonewprivs was given.
3797if test "${enable_selinux+set}" = set; then : 3834if test "${enable_force_nonewprivs+set}" = set; then :
3798 enableval=$enable_selinux; 3835 enableval=$enable_force_nonewprivs;
3799fi 3836fi
3800 3837
3801if test "x$enable_selinux" = "xyes"; then : 3838if test "x$enable_force_nonewprivs" = "xyes"; then :
3802 3839
3803 HAVE_SELINUX="-DHAVE_SELINUX" 3840 HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS"
3804 EXTRA_LDFLAGS+=" -lselinux "
3805 3841
3806 3842
3807fi 3843fi
3808 3844
3845HAVE_LTS=""
3846# Check whether --enable-lts was given.
3847if test "${enable_lts+set}" = set; then :
3848 enableval=$enable_lts;
3849fi
3850
3851if test "x$enable_lts" = "xyes"; then :
3852
3853 HAVE_LTS="-DHAVE_LTS"
3854
3855
3856 HAVE_DBUSPROXY=""
3857
3858
3859 HAVE_OVERLAYFS=""
3860
3861
3862 HAVE_OUTPUT=""
3863
3864
3865 HAVE_USERTMPFS=""
3866
3867
3868 HAVE_MAN="-DHAVE_MAN"
3869
3870
3871 HAVE_FIRETUNNEL=""
3872
3873
3874 HAVE_PRIVATEHOME=""
3875
3876
3877 HAVE_CHROOT=""
3878
3879
3880 HAVE_GLOBALCFG=""
3881
3882
3883 HAVE_USERNS=""
3884
3885
3886 HAVE_X11=""
3887
3888
3889 HAVE_FILE_TRANSFER=""
3890
3891
3892 HAVE_SUID="yes"
3893
3894
3895 BUSYBOX_WORKAROUND="no"
3896
3897
3898 HAVE_CONTRIB_INSTALL="no",
3899
3900
3901fi
3902
3903
3904
3905
3809# checking pthread library 3906# checking pthread library
3810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 3907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3811$as_echo_n "checking for main in -lpthread... " >&6; } 3908$as_echo_n "checking for main in -lpthread... " >&6; }
@@ -4269,7 +4366,7 @@ fi
4269 4366
4270ac_config_files="$ac_config_files mkdeb.sh" 4367ac_config_files="$ac_config_files mkdeb.sh"
4271 4368
4272ac_config_files="$ac_config_files Makefile src/common.mk src/lib/Makefile src/fcopy/Makefile src/fnet/Makefile src/firejail/Makefile src/fnetfilter/Makefile src/firemon/Makefile src/libtrace/Makefile src/libtracelog/Makefile src/firecfg/Makefile src/fbuilder/Makefile src/fsec-print/Makefile src/ftee/Makefile src/faudit/Makefile src/fseccomp/Makefile src/fldd/Makefile src/libpostexecseccomp/Makefile src/fsec-optimize/Makefile src/profstats/Makefile src/man/Makefile test/Makefile" 4369ac_config_files="$ac_config_files Makefile src/common.mk src/lib/Makefile src/fcopy/Makefile src/fnet/Makefile src/firejail/Makefile src/fnetfilter/Makefile src/firemon/Makefile src/libtrace/Makefile src/libtracelog/Makefile src/firecfg/Makefile src/fbuilder/Makefile src/fsec-print/Makefile src/ftee/Makefile src/fseccomp/Makefile src/fldd/Makefile src/libpostexecseccomp/Makefile src/fsec-optimize/Makefile src/profstats/Makefile src/man/Makefile src/zsh_completion/Makefile src/bash_completion/Makefile test/Makefile src/jailtest/Makefile"
4273 4370
4274cat >confcache <<\_ACEOF 4371cat >confcache <<\_ACEOF
4275# This file is a shell script that caches the results of configure 4372# This file is a shell script that caches the results of configure
@@ -4993,14 +5090,16 @@ do
4993 "src/fbuilder/Makefile") CONFIG_FILES="$CONFIG_FILES src/fbuilder/Makefile" ;; 5090 "src/fbuilder/Makefile") CONFIG_FILES="$CONFIG_FILES src/fbuilder/Makefile" ;;
4994 "src/fsec-print/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-print/Makefile" ;; 5091 "src/fsec-print/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-print/Makefile" ;;
4995 "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;; 5092 "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;;
4996 "src/faudit/Makefile") CONFIG_FILES="$CONFIG_FILES src/faudit/Makefile" ;;
4997 "src/fseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/fseccomp/Makefile" ;; 5093 "src/fseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/fseccomp/Makefile" ;;
4998 "src/fldd/Makefile") CONFIG_FILES="$CONFIG_FILES src/fldd/Makefile" ;; 5094 "src/fldd/Makefile") CONFIG_FILES="$CONFIG_FILES src/fldd/Makefile" ;;
4999 "src/libpostexecseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpostexecseccomp/Makefile" ;; 5095 "src/libpostexecseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpostexecseccomp/Makefile" ;;
5000 "src/fsec-optimize/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-optimize/Makefile" ;; 5096 "src/fsec-optimize/Makefile") CONFIG_FILES="$CONFIG_FILES src/fsec-optimize/Makefile" ;;
5001 "src/profstats/Makefile") CONFIG_FILES="$CONFIG_FILES src/profstats/Makefile" ;; 5097 "src/profstats/Makefile") CONFIG_FILES="$CONFIG_FILES src/profstats/Makefile" ;;
5002 "src/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;; 5098 "src/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;;
5099 "src/zsh_completion/Makefile") CONFIG_FILES="$CONFIG_FILES src/zsh_completion/Makefile" ;;
5100 "src/bash_completion/Makefile") CONFIG_FILES="$CONFIG_FILES src/bash_completion/Makefile" ;;
5003 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 5101 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
5102 "src/jailtest/Makefile") CONFIG_FILES="$CONFIG_FILES src/jailtest/Makefile" ;;
5004 5103
5005 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5104 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5006 esac 5105 esac
@@ -5466,6 +5565,7 @@ echo "Configuration options:"
5466echo " prefix: $prefix" 5565echo " prefix: $prefix"
5467echo " sysconfdir: $sysconfdir" 5566echo " sysconfdir: $sysconfdir"
5468echo " apparmor: $HAVE_APPARMOR" 5567echo " apparmor: $HAVE_APPARMOR"
5568echo " SELinux labeling support: $HAVE_SELINUX"
5469echo " global config: $HAVE_GLOBALCFG" 5569echo " global config: $HAVE_GLOBALCFG"
5470echo " chroot: $HAVE_CHROOT" 5570echo " chroot: $HAVE_CHROOT"
5471echo " network: $HAVE_NETWORK" 5571echo " network: $HAVE_NETWORK"
@@ -5477,6 +5577,7 @@ echo " file transfer support: $HAVE_FILE_TRANSFER"
5477echo " overlayfs support: $HAVE_OVERLAYFS" 5577echo " overlayfs support: $HAVE_OVERLAYFS"
5478echo " DBUS proxy support: $HAVE_DBUSPROXY" 5578echo " DBUS proxy support: $HAVE_DBUSPROXY"
5479echo " allow tmpfs as regular user: $HAVE_USERTMPFS" 5579echo " allow tmpfs as regular user: $HAVE_USERTMPFS"
5580echo " enable --ouput logging: $HAVE_OUTPUT"
5480echo " Manpage support: $HAVE_MAN" 5581echo " Manpage support: $HAVE_MAN"
5481echo " firetunnel support: $HAVE_FIRETUNNEL" 5582echo " firetunnel support: $HAVE_FIRETUNNEL"
5482echo " busybox workaround: $BUSYBOX_WORKAROUND" 5583echo " busybox workaround: $BUSYBOX_WORKAROUND"
@@ -5486,6 +5587,20 @@ echo " EXTRA_CFLAGS: $EXTRA_CFLAGS"
5486echo " fatal warnings: $HAVE_FATAL_WARNINGS" 5587echo " fatal warnings: $HAVE_FATAL_WARNINGS"
5487echo " Gcov instrumentation: $HAVE_GCOV" 5588echo " Gcov instrumentation: $HAVE_GCOV"
5488echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL" 5589echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL"
5489echo " SELinux labeling support: $HAVE_SELINUX"
5490echo " Install as a SUID executable: $HAVE_SUID" 5590echo " Install as a SUID executable: $HAVE_SUID"
5591echo " LTS: $HAVE_LTS"
5592echo " Always enforce filters: $HAVE_FORCE_NONEWPRIVS"
5491echo 5593echo
5594
5595
5596if test "$HAVE_LTS" = -DHAVE_LTS; then
5597 echo
5598 echo
5599 echo "*********************************************************"
5600 echo "* Warning: Long-term support (LTS) was enabled! *"
5601 echo "* Most compile-time options have bean rewritten! *"
5602 echo "*********************************************************"
5603 echo
5604 echo
5605fi
5606