From: Paul Floyd Date: Sat, 2 Sep 2023 13:20:36 +0000 (+0200) Subject: FreeBSD: Add support for building on FreeBSD 15.0 X-Git-Tag: VALGRIND_3_22_0~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae4e70d97d46c58a99782ff007df1cdc34ac1219;p=thirdparty%2Fvalgrind.git FreeBSD: Add support for building on FreeBSD 15.0 --- diff --git a/NEWS b/NEWS index 832d24e45a..41f6d8699a 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,8 @@ AMD64/macOS 10.13 and nanoMIPS/Linux. * ================== PLATFORM CHANGES ================= +* support has been added for FreeBSD 14 and FreeBSD 15. + * ==================== TOOL CHANGES =================== diff --git a/configure.ac b/configure.ac index e9592f47ec..2aaf3f44bb 100755 --- a/configure.ac +++ b/configure.ac @@ -398,6 +398,8 @@ case "${host_os}" in freebsd_13_2=1320 AC_DEFINE([FREEBSD_14], 1400, [FREEBSD_VERS value for FreeBSD 14.x]) freebsd_14=1400 + AC_DEFINE([FREEBSD_15], 1500, [FREEBSD_VERS value for FreeBSD 15.x]) + freebsd_15=1500 AC_MSG_CHECKING([for the kernel version]) kernel=`uname -r` @@ -446,7 +448,7 @@ case "${host_os}" in ;; *) AC_MSG_RESULT([unsupported (${kernel})]) - AC_MSG_ERROR([Valgrind works on FreeBSD 10.x to 14.x]) + AC_MSG_ERROR([Valgrind works on FreeBSD 10.x to 15.x]) ;; esac ;; @@ -455,9 +457,14 @@ case "${host_os}" in AC_DEFINE([FREEBSD_VERS], FREEBSD_14, [FreeBSD version]) freebsd_vers=$freebsd_14 ;; + 15.*) + AC_MSG_RESULT([FreeBSD 15.x (${kernel})]) + AC_DEFINE([FREEBSD_VERS], FREEBSD_15, [FreeBSD version]) + freebsd_vers=$freebsd_15 + ;; *) AC_MSG_RESULT([unsupported (${kernel})]) - AC_MSG_ERROR([Valgrind works on FreeBSD 10.x to 14.x]) + AC_MSG_ERROR([Valgrind works on FreeBSD 10.x to 15.x]) ;; esac