=== modified file 'configure.ac' --- configure.ac 2013-12-05 19:27:44 +0000 +++ configure.ac 2014-01-14 20:29:52 +0000 @@ -62,6 +62,24 @@ AC_MSG_RESULT([Strict build options enabled]) fi + + +#### +# INSANER iconv testing... + +AC_MSG_CHECKING([.......TESTING ICONV.......]) +AC_LINK_IFELSE([AM_ICONV_LINKFLAGS_BODY([])], [ink_opt_ok=yes], [ink_opt_ok=no]) +AC_MSG_CHECKING([.......ICONV.RESULT:]) +AC_MSG_RESULT([$ink_opt_ok]) +if test "x$ink_opt_ok" != "xyes"; then + LDFLAGS="-liconv $LDFLAGS" + AC_MSG_CHECKING([.......ICONV.LDFLAGS:]) + AC_MSG_RESULT([$LDFLAGS]) +fi + + + + dnl These next few lines are needed only while libcroco is in our source tree. AM_PROG_CC_C_O if test "$GCC" = "yes"; then