autotools and distro packaging support

Signed-off-by: Andrew Shewmaker <agshew@gmail.com>