[openssh-commits] [openssh] 02/02: Update autoconf files for recent changes.
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Sep 22 14:26:33 AEST 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch V_10_5
in repository openssh.
commit 71e9fc4cb8c5420f92d3189c1354c1bed0d90f63
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Tue Sep 22 14:25:24 2026 +1000
Update autoconf files for recent changes.
---
config.h.in | 8 ++++----
configure | 21 +++++++++++++++------
2 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/config.h.in b/config.h.in
index 17d4a68a1..7e6637b6f 100644
--- a/config.h.in
+++ b/config.h.in
@@ -50,10 +50,6 @@
/* Can't do comparisons on readv */
#undef BROKEN_READV_COMPARISON
-/* NetBSD read function is sometimes redirected, breaking atomicio comparisons
- against it */
-#undef BROKEN_READ_COMPARISON
-
/* Needed for NeXT */
#undef BROKEN_SAVED_UIDS
@@ -382,6 +378,10 @@
don't. */
#undef HAVE_DECL_INFINITY
+/* Define to 1 if you have the declaration of `kSBXProfilePureComputation',
+ and to 0 if you don't. */
+#undef HAVE_DECL_KSBXPROFILEPURECOMPUTATION
+
/* Define to 1 if you have the declaration of `le32toh', and to 0 if you
don't. */
#undef HAVE_DECL_LE32TOH
diff --git a/configure b/configure
index 504d8fc2a..d85e0d58a 100755
--- a/configure
+++ b/configure
@@ -12398,6 +12398,16 @@ then :
fi
+ ac_fn_check_decl "$LINENO" "kSBXProfilePureComputation" "ac_cv_have_decl_kSBXProfilePureComputation" "#include <sandbox.h>
+" "$ac_c_undeclared_builtin_options" "CFLAGS"
+if test "x$ac_cv_have_decl_kSBXProfilePureComputation" = xyes
+then :
+ ac_have_decl=1
+else $as_nop
+ ac_have_decl=0
+fi
+printf "%s\n" "#define HAVE_DECL_KSBXPROFILEPURECOMPUTATION $ac_have_decl" >>confdefs.h
+
# proc_pidinfo()-based closefrom() replacement.
ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
if test "x$ac_cv_header_libproc_h" = xyes
@@ -12955,9 +12965,6 @@ fi
printf "%s\n" "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h
TEST_MALLOC_OPTIONS="AJRX"
-
-printf "%s\n" "#define BROKEN_READ_COMPARISON 1" >>confdefs.h
-
;;
*-*-freebsd*)
@@ -21119,10 +21126,12 @@ fi
if test "x$sandbox_arg" = "xdarwin" || \
( test -z "$sandbox_arg" && test "x$ac_cv_func_sandbox_init" = "xyes" && \
- test "x$ac_cv_header_sandbox_h" = "xyes") ; then
+ test "x$ac_cv_header_sandbox_h" = "xyes" && \
+ test "x$ac_cv_have_decl_kSBXProfilePureComputation" = "xyes") ; then
test "x$ac_cv_func_sandbox_init" != "xyes" -o \
- "x$ac_cv_header_sandbox_h" != "xyes" && \
- as_fn_error $? "Darwin seatbelt sandbox requires sandbox.h and sandbox_init function" "$LINENO" 5
+ "x$ac_cv_header_sandbox_h" != "xyes" -o \
+ "x$ac_cv_have_decl_kSBXProfilePureComputation" != "xyes" && \
+ as_fn_error $? "Darwin seatbelt sandbox requires sandbox.h, sandbox_init() and kSBXProfilePureComputation" "$LINENO" 5
SANDBOX_STYLE="darwin"
printf "%s\n" "#define SANDBOX_DARWIN 1" >>confdefs.h
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list