From df6ddcfbfcd33274c1b768ce26829b0ad9278cd0 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 2 Jan 2014 22:23:16 +0100 Subject: [PATCH] waf:lib/replace fix up libintl related checks on a default installation of AIX, libintl.a exists but libintl.h does not So check for the declarations of those functions as well to make sure that the build works. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9911 Signed-off-by: Christian Ambach Reviewed-by: Andrew Bartlett --- lib/replace/wscript | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/replace/wscript b/lib/replace/wscript index 09efdc8831f..6784dd3cb81 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -371,6 +371,7 @@ removeea setea if not Options.options.disable_gettext: conf.CHECK_HEADERS('libintl.h') conf.CHECK_LIB('intl') + conf.CHECK_DECLS('dgettext gettext bindtextdomain textdomain bind_textdomain_codeset', headers="libintl.h") # *textdomain functions are not strictly necessary conf.CHECK_FUNCS_IN('bindtextdomain textdomain bind_textdomain_codeset', '', checklibc=True, headers='libintl.h') -- 2.34.1