3 @@ -1986,8 +1986,8 @@ endif
4 # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
5 # implementations. This could be extended if issues are found in some platforms.
7 -if cc.has_function('ngettext')
8 - have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
10 + have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset', prefix :'#include <libintl.h>')
12 # First just find the bare library.
13 libintl = cc.find_library('intl', required : false)