X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/cc3207b9affac5eacc416e6d263d1327d7f6e3fa..5f9a33d80697fc283391fcb98f8861e77c5b8cc9:/configure diff --git a/configure b/configure index cc61f448..894b1eba 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.175 . +# From configure.in Revision: 1.176 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # @@ -854,6 +854,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-gcc don't use gcc --with-user=USERNAME drop privileges by default to USERNAME + --with-chroot=DIRECTORY when dropping privileges, chroot to DIRECTORY --without-crypto disable crypto support Some influential environment variables: @@ -3693,6 +3694,26 @@ else echo "${ECHO_T}no" >&6 fi + +# Check whether --with-chroot or --without-chroot was given. +if test "${with_chroot+set}" = set; then + withval="$with_chroot" + +fi; +echo "$as_me:$LINENO: checking whether to chroot" >&5 +echo $ECHO_N "checking whether to chroot... $ECHO_C" >&6 +if test ! -z "$with_chroot" ; then + cat >>confdefs.h <<_ACEOF +#define WITH_CHROOT "$withval" +_ACEOF + + echo "$as_me:$LINENO: result: to \"$withval\"" >&5 +echo "${ECHO_T}to \"$withval\"" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + echo "$as_me:$LINENO: checking whether to enable ipv6" >&5 echo $ECHO_N "checking whether to enable ipv6... $ECHO_C" >&6 # Check whether --enable-ipv6 or --disable-ipv6 was given.