Thanks for the link marrowsuck
I hadn't seen the issue on libarchive's github site.
Marav's earlier post includes
a link that points at a patch for the libarchive configure script that looks reasonable to me and it also appears to address the issue that you linked on github and more.
Here's hoping the libarchive team fixes their configure script and offers a new release soon.
-- kjh