Added a test case for bug #913.
Merged pull request #64
Fixed bug #920: AM_CONFIG_HEADER is deprecated
Merged pull request #65