Upstream is no longer support autotools and plans to remove it entirely in the future. They strongly advise the use of cmake instead.
I don't really know a lot about autotools or cmake, but I'll give it a try :-)
Here's my work in progress:
Any help would be greatly appreciated.