Add .cpio check when removing the file extension
Fix typo in configure.ac
Add AutoarPref settings reading support

These codes has not been tested, so it may contain serious bugs.