aboutsummaryrefslogtreecommitdiffstats
path: root/config/user.m4
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-04-30 10:37:29 +1000
committerBrian Behlendorf <[email protected]>2024-05-01 10:52:05 -0700
commit051460b8b2bb78add2b7ed5255f7656a33be903a (patch)
tree11d6decb95b7e80d7977e70a43cd3577096ded50 /config/user.m4
parent2152c405ba6ab0bc9fca482e9a0a968eb35699fb (diff)
libspl/assert: use libunwind for backtrace when available
libunwind seems to do a better job of resolving a symbols than backtrace(), and is also useful on platforms that don't have backtrace() (eg musl). If it's available, use it. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rob Norris <[email protected]> Sponsored-by: https://despairlabs.com/sponsor/ Closes #16140
Diffstat (limited to 'config/user.m4')
-rw-r--r--config/user.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/user.m4 b/config/user.m4
index 8d11e031b..badd920d2 100644
--- a/config/user.m4
+++ b/config/user.m4
@@ -27,6 +27,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER], [
ZFS_AC_CONFIG_USER_CLOCK_GETTIME
ZFS_AC_CONFIG_USER_PAM
ZFS_AC_CONFIG_USER_BACKTRACE
+ ZFS_AC_CONFIG_USER_LIBUNWIND
ZFS_AC_CONFIG_USER_RUNSTATEDIR
ZFS_AC_CONFIG_USER_MAKEDEV_IN_SYSMACROS
ZFS_AC_CONFIG_USER_MAKEDEV_IN_MKDEV