maybe i'm doing something wrong, but elinks builds/installs fine for me with latest automake version so these two lines should be dropped from the ebuild: WANT_AUTOCONF="latest" WANT_AUTOMAKE="1.4"
Fixed in CVS, thanks for reporting this.