updated for autoconf