1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

heimdal_build: only enable libintl functions if everything was found

do not rely on intl.h being available but also on the functions being usable
This should fix the build on HP-UX

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9911
Signed-off-by: Christian Ambach <ambi@samba.org>

Change-Id: I5dd88d2d5216b778624778455cca99b32d0be58f
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 20 01:28:24 CET 2014 on sn-devel-104
This commit is contained in:
Christian Ambach 2014-02-19 22:17:01 +01:00 committed by Andrew Bartlett
parent 0c8e9cc757
commit 8f0d06fa5e

View File

@ -41,7 +41,8 @@
#endif
/*Workaround for heimdal define vs samba define*/
#ifdef HAVE_LIBINTL_H
#if defined(HAVE_LIBINTL_H) && defined(HAVE_BINDTEXTDOMAIN) &&\
defined(HAVE_TEXTDOMAIN)
#define LIBINTL
#endif