Fixed issue #179, m4 directory checking and creation added in autogen.sh script