AM_CONFIG_HEADER is obsolete

And should be replaced by AC_CONFIG_HEADERS

This patch is needed to compile nowdays. If you could merge it, I will release a [homebrew](http://mxcl.github.com/homebrew/) Formula to compile it, otherwise I'll change the formula tu use this fork. 

Let me know!