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
@ -1281,6 +1281,9 @@ AC_ARG_ENABLE([prof-libunwind],
|
|||||||
enable_prof_libunwind="0"
|
enable_prof_libunwind="0"
|
||||||
else
|
else
|
||||||
enable_prof_libunwind="1"
|
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
|
fi
|
||||||
],
|
],
|
||||||
[enable_prof_libunwind="0"]
|
[enable_prof_libunwind="0"]
|
||||||
|
Loading…
Reference in New Issue
Block a user