adding some autoconf/automake code.