On a system without Perl (e.g. FreeBSD), compilation fails because of checking for perl... no and Built-in manual: enabled for a plain ./configure; make using curl 7.54.0 from zip download.
Full build log.
One other thing I find strange is that after the error output, the command hangs forever instead of failing with non-0 return code.