add cachedir
option parsing for configure.ayum