diff options
author | Christian Ambach <ambi@samba.org> | 2014-01-02 22:23:16 +0100 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2014-01-03 05:04:44 +0100 |
commit | df6ddcfbfcd33274c1b768ce26829b0ad9278cd0 (patch) | |
tree | f5f57e40bd5eee4a6b83705793637a5149bb32cd /lib/replace | |
parent | 1a42ff7d8db63b26e2beb43268a1c4664723358e (diff) | |
download | samba-df6ddcfbfcd33274c1b768ce26829b0ad9278cd0.tar.gz samba-df6ddcfbfcd33274c1b768ce26829b0ad9278cd0.tar.xz samba-df6ddcfbfcd33274c1b768ce26829b0ad9278cd0.zip |
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 <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/wscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 09efdc8831..6784dd3cb8 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') |