From 1b19e521c4f007e16010e1c935bc4392bd333145 Mon Sep 17 00:00:00 2001 From: Aleksey Manevich Date: Tue, 9 Aug 2016 01:29:55 +0300 Subject: workaround for systems where common UNIX utilities are symlinks to busybox --- configure | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 0f6f8f7fb..29792969c 100755 --- a/configure +++ b/configure @@ -625,6 +625,7 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS HAVE_SECCOMP_H +BUSYBOX_WORKAROUND HAVE_FATAL_WARNINGS HAVE_WHITELIST HAVE_FILE_TRANSFER @@ -703,6 +704,7 @@ enable_x11 enable_file_transfer enable_whitelist enable_fatal_warnings +enable_busybox_workaround ' ac_precious_vars='build_alias host_alias @@ -1336,6 +1338,8 @@ Optional Features: --disable-file-transfer disable file transfer --disable-whitelist disable whitelist --enable-fatal-warnings -W -Wall -Werror + --enable-busybox-workaround + enable busybox workaround Some influential environment variables: CC C compiler command @@ -3647,6 +3651,20 @@ if test "x$enable_fatal_warnings" = "xyes"; then : fi +BUSYBOX_WORKAROUND="no" +# Check whether --enable-busybox-workaround was given. +if test "${enable_busybox_workaround+set}" = set; then : + enableval=$enable_busybox_workaround; +fi + +if test "x$enable_busybox_workaround" = "xyes"; then : + + BUSYBOX_WORKAROUND="yes" + + +fi + + # checking pthread library { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 @@ -4905,6 +4923,7 @@ echo " X11 sandboxing support: $HAVE_X11" echo " whitelisting: $HAVE_WHITELIST" echo " file transfer support: $HAVE_FILE_TRANSFER" echo " fatal warnings: $HAVE_FATAL_WARNINGS" +echo " busybox workaround: $BUSYBOX_WORKAROUND" printf " uid_min: "; grep UID_MIN uids.h printf " gid_min: "; grep GID_MIN uids.h printf " EXTRA_LDFLAGS: $EXTRA_LDFLAGS" -- cgit v1.2.3-54-g00ecf