From ff5ec84a4eabfcbbc822c4c5c2a6712c6f145ed7 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 21 Nov 2013 23:02:38 +0100 Subject: [PATCH] waf: fix up libintl related checks checklibc=True gives back false-positives on AIX for gettext/dgettext and so the build fails later when libintl.h is not available --- lib/replace/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/replace/wscript b/lib/replace/wscript index b6fb10b..c54ffc6 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -369,10 +369,10 @@ removeea setea conf.CHECK_LIB('intl') # *textdomain functions are not strictly necessary conf.CHECK_FUNCS_IN('bindtextdomain textdomain bind_textdomain_codeset', - '', checklibc=True, headers='libintl.h') + '', checklibc=False, headers='libintl.h') # gettext and dgettext must exist # on some systems (the ones with glibc, those are in libc) - if conf.CHECK_FUNCS_IN('dgettext gettext', '', checklibc=True, headers='libintl.h'): + if conf.CHECK_FUNCS_IN('dgettext gettext', '', checklibc=False, headers='libintl.h'): # save for dependency definitions conf.env.intl_libs='' # others (e.g. FreeBSD) have seperate libintl -- 1.8.1.2