(like building for win32), so the attached patch adds a stub like the
existing one for dcgettect() ... this fixes building of elf2flt for me for
mingw targets
Mike Frysinger <vapier@gentoo.org>
-for ac_func in dcgettext
+for ac_func in dcgettext libintl_dgettext
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
dnl Checks for library functions.
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(dcgettext)
+AC_CHECK_FUNCS(dcgettext libintl_dgettext)
dnl Subsitute values
AC_SUBST(target)
return msg;
}
#endif /* !HAVE_DCGETTEXT */
+
+#ifndef HAVE_LIBINTL_DGETTEXT
+const char *libintl_dgettext (const char *domain, const char *msg)
+{
+ return msg;
+}
+#endif /* !HAVE_LIBINTL_DGETTEXT */