mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Reject --enable-prof-libunwind without --enable-prof
Prior to the change you could specify --enable-prof-libunwind without --enable-prof which would do effectively nothing. This was confusing as I expected --enable-prof-libunwind to act like --enable-prof, but use libunwind.
This commit is contained in:
parent
e5062e9fb9
commit
26140dd246
1 changed files with 3 additions and 0 deletions
|
|
@ -1281,6 +1281,9 @@ AC_ARG_ENABLE([prof-libunwind],
|
|||
enable_prof_libunwind="0"
|
||||
else
|
||||
enable_prof_libunwind="1"
|
||||
if test "x$enable_prof" = "x0" ; then
|
||||
AC_MSG_ERROR([--enable-prof-libunwind should only be used with --enable-prof])
|
||||
fi
|
||||
fi
|
||||
],
|
||||
[enable_prof_libunwind="0"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue