--- configure.orig	2010-08-15 09:08:09.000000000 -0500
+++ configure	2011-10-28 19:41:37.000000000 -0500
@@ -4840,6 +4840,8 @@
 ;;
     *aix*)		LIBS="-liconv"
 ;;
+    *-*-darwin*)	LIBS="-liconv"
+;;
 esac
 
 ac_config_files="$ac_config_files Makefile charmaps/Makefile doc/Makefile outputs/Makefile patches/Makefile src/Makefile tests/Makefile"
