dnl The full implementation of this is distributed in GNU libiconv and GNU gettext, with its workings documented in the latter. For Gales, we know the standard POSIX flavor iconv(3) is included in musl, so there's nothing to check. dnl If this comes up more than once, it might make sense to include in our base automake package. AC_DEFUN([AM_ICONV], [ am_cv_func_iconv=yes AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) AC_DEFINE([ICONV_CONST], [], [Define as const if the declaration of iconv() needs const.]) LIBICONV= LTLIBICONV= AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ])