]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Regenerate.
authorguy <guy>
Mon, 26 Jan 2004 00:51:31 +0000 (00:51 +0000)
committerguy <guy>
Mon, 26 Jan 2004 00:51:31 +0000 (00:51 +0000)
config.h.in
configure

index 3198d89e5aa714e36a34e42edf395856adbc2342..9934b111392b61c2eb228fa1ea56b97f2436b301 100644 (file)
 /* Define if you have a dnet_htoa declaration in <netdnet/dnetdb.h>.  */
 #undef HAVE_NETDNET_DNETDB_H_DNET_HTOA
 
+/* define if should drop privileges by default */
+#undef WITH_USER
+
 /* Define to 1 if you have the `alarm' function. */
 #undef HAVE_ALARM
 
index 218806028e72b9ab3f2c2a5b6e248efa263a4813..7f1f61a9dfa63d58bdfe5117663e258613f12649 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.173 .
+# From configure.in Revision: 1.174 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.57.
 #
@@ -853,6 +853,7 @@ Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --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
   --without-crypto        disable crypto support
 
 Some influential environment variables:
@@ -3672,6 +3673,26 @@ echo "${ECHO_T}no" >&6
        ;;
 esac
 
+
+# Check whether --with-user or --without-user was given.
+if test "${with_user+set}" = set; then
+  withval="$with_user"
+
+fi;
+echo "$as_me:$LINENO: checking whether to drop root privileges by default" >&5
+echo $ECHO_N "checking whether to drop root privileges by default... $ECHO_C" >&6
+if test ! -z "$with_user" ; then
+        cat >>confdefs.h <<_ACEOF
+#define WITH_USER "$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.