keithw/mosh — pull request #228 by ppannuto (2012-04-21 05:03:20+00:00)
Title: Add version check for automake to autogen.sh

Mosh requires aclocal to support the --install flag, which wasn't added until
automake version 1.10*. Since all of the version checking (AC_PREREQ and such)
is performed by aclocal itself, checking to see if install is supported must be
done before aclocal itself is called.

Ideally the restriction would be lifted in the future, but for now at least
supply users with a less cryptic message than 'unrecognized option --install'

*source: http://git.savannah.gnu.org/cgit/automake.git/tree/NEWS?id=v1.11.1&h=next&=switch

Signed-off-by: Pat Pannuto