]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD: Add support for building on FreeBSD 15.0
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 2 Sep 2023 13:20:36 +0000 (15:20 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 2 Sep 2023 13:20:36 +0000 (15:20 +0200)
NEWS
configure.ac

diff --git a/NEWS b/NEWS
index 832d24e45a67d0c24ec7cd0b5a6e37152dbf4969..41f6d8699ac62dc7ef6ced7ed670b3cf0d83dfec 100644 (file)
--- 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 ===================
 
index e9592f47ecef43ea68286b7c876590cafe3da6af..2aaf3f44bb4ecee89c0b860ab88eef0f3ecdb773 100755 (executable)
@@ -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