Also add comment to README.freebsd about ensuring that
jails set "uname -r" to be something compatible with the
normal RELEASE/STABLE/CURRENT releases.
$ gmake
$ gmake install
+If you are using a jail for building, make sure that it is configured so that
+"uname -r" returns a string that matches the pattern "XX.Y-*" where XX is the
+major version (12, 13, 14 ...) and Y is the minor version (0, 1, 2, 3).
+
Known Limitations (June 2022)
0. Be aware that if you use a wrapper script and run Valgrind on the wrapper
AC_DEFINE([FREEBSD_VERS], FREEBSD_13_2, [FreeBSD version])
freebsd_vers=$freebsd_13_2
;;
+ *)
+ AC_MSG_RESULT([unsupported (${kernel})])
+ AC_MSG_ERROR([Valgrind works on FreeBSD 10.x to 14.x])
+ ;;
esac
;;
14.*)