See attached for config.log. I tried fighting with AC_CHECK_LIB and it seemed to believe it couldn't do whatever it was trying. I'm no autotools expert so maybe I missed something.
The configure script is not able to find libiconv. Where is that library installed in your system?
