]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Regenerate configure script.
authorGuy Harris <[email protected]>
Fri, 19 Dec 2014 21:38:54 +0000 (13:38 -0800)
committerGuy Harris <[email protected]>
Fri, 19 Dec 2014 21:38:54 +0000 (13:38 -0800)
config.h.in
configure

index 0342e6101a4d69dbe4c2c43f35d6ef90d49083df..9ed68ff352b5dcaed364e67965420ebeb7cae53b 100644 (file)
@@ -18,9 +18,6 @@
 /* Define to 1 if you have the `cap_ioctls_limit' function. */
 #undef HAVE_CAP_IOCTLS_LIMIT
 
-/* Define to 1 if you have the `cap_rights_init' function. */
-#undef HAVE_CAP_RIGHTS_INIT
-
 /* Define to 1 if you have the `cap_rights_limit' function. */
 #undef HAVE_CAP_RIGHTS_LIMIT
 
index f9305dea2cc5e0fb4a1612470ee8a6a9d3ec72d9..f352e540b0bc5a83879e66a2b0a5a3224e11c7ca 100755 (executable)
--- a/configure
+++ b/configure
@@ -4534,10 +4534,15 @@ fi
 # ac_lbl_capsicum_function_seen to yes; if any are not, set
 # ac_lbl_capsicum_function_not_seen to yes.
 #
-# All of them must be available in order to enable capsicum sandboxing.
+# We don't check cap_rights_init(), as it's a macro, wrapping another
+# function, in at least some versions of FreeBSD, and AC_CHECK_FUNCS()
+# doesn't handle that.
+#
+# All of the ones we check for must be available in order to enable
+# capsicum sandboxing.
 #
 if test ! -z "$with_sandbox-capsicum" && test "$with_sandbox-capsicum" != "no" ; then
-       for ac_func in cap_enter cap_rights_init cap_rights_limit cap_ioctls_limit openat
+       for ac_func in cap_enter cap_rights_limit cap_ioctls_limit openat
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"