aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar Aleksey Manevich <manevich.aleksey@gmail.com>2016-08-09 01:29:55 +0300
committerLibravatar Aleksey Manevich <manevich.aleksey@gmail.com>2016-08-09 01:29:55 +0300
commit1b19e521c4f007e16010e1c935bc4392bd333145 (patch)
tree585d6d6409b27c498ff48807538e3fa4012e4c6d /configure
parent--private-bin and --private-etc fix (diff)
downloadfirejail-1b19e521c4f007e16010e1c935bc4392bd333145.tar.gz
firejail-1b19e521c4f007e16010e1c935bc4392bd333145.tar.zst
firejail-1b19e521c4f007e16010e1c935bc4392bd333145.zip
workaround for systems where common UNIX utilities are symlinks to busybox
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure b/configure
index 0f6f8f7fb..29792969c 100755
--- a/configure
+++ b/configure
@@ -625,6 +625,7 @@ ac_includes_default="\
625ac_subst_vars='LTLIBOBJS 625ac_subst_vars='LTLIBOBJS
626LIBOBJS 626LIBOBJS
627HAVE_SECCOMP_H 627HAVE_SECCOMP_H
628BUSYBOX_WORKAROUND
628HAVE_FATAL_WARNINGS 629HAVE_FATAL_WARNINGS
629HAVE_WHITELIST 630HAVE_WHITELIST
630HAVE_FILE_TRANSFER 631HAVE_FILE_TRANSFER
@@ -703,6 +704,7 @@ enable_x11
703enable_file_transfer 704enable_file_transfer
704enable_whitelist 705enable_whitelist
705enable_fatal_warnings 706enable_fatal_warnings
707enable_busybox_workaround
706' 708'
707 ac_precious_vars='build_alias 709 ac_precious_vars='build_alias
708host_alias 710host_alias
@@ -1336,6 +1338,8 @@ Optional Features:
1336 --disable-file-transfer disable file transfer 1338 --disable-file-transfer disable file transfer
1337 --disable-whitelist disable whitelist 1339 --disable-whitelist disable whitelist
1338 --enable-fatal-warnings -W -Wall -Werror 1340 --enable-fatal-warnings -W -Wall -Werror
1341 --enable-busybox-workaround
1342 enable busybox workaround
1339 1343
1340Some influential environment variables: 1344Some influential environment variables:
1341 CC C compiler command 1345 CC C compiler command
@@ -3647,6 +3651,20 @@ if test "x$enable_fatal_warnings" = "xyes"; then :
3647 3651
3648fi 3652fi
3649 3653
3654BUSYBOX_WORKAROUND="no"
3655# Check whether --enable-busybox-workaround was given.
3656if test "${enable_busybox_workaround+set}" = set; then :
3657 enableval=$enable_busybox_workaround;
3658fi
3659
3660if test "x$enable_busybox_workaround" = "xyes"; then :
3661
3662 BUSYBOX_WORKAROUND="yes"
3663
3664
3665fi
3666
3667
3650 3668
3651# checking pthread library 3669# checking pthread library
3652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 3670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
@@ -4905,6 +4923,7 @@ echo " X11 sandboxing support: $HAVE_X11"
4905echo " whitelisting: $HAVE_WHITELIST" 4923echo " whitelisting: $HAVE_WHITELIST"
4906echo " file transfer support: $HAVE_FILE_TRANSFER" 4924echo " file transfer support: $HAVE_FILE_TRANSFER"
4907echo " fatal warnings: $HAVE_FATAL_WARNINGS" 4925echo " fatal warnings: $HAVE_FATAL_WARNINGS"
4926echo " busybox workaround: $BUSYBOX_WORKAROUND"
4908printf " uid_min: "; grep UID_MIN uids.h 4927printf " uid_min: "; grep UID_MIN uids.h
4909printf " gid_min: "; grep GID_MIN uids.h 4928printf " gid_min: "; grep GID_MIN uids.h
4910printf " EXTRA_LDFLAGS: $EXTRA_LDFLAGS" 4929printf " EXTRA_LDFLAGS: $EXTRA_LDFLAGS"