add configure script with autoconf