Update autotools with recent changes

Change-Id: If73077a5b6fc6950e2d03f9e27593294cd532d9c
Reviewed-on: http://review.couchbase.org/44128
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>