summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2014-02-19 22:17:01 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-02-20 01:28:24 +0100
commit8f0d06fa5e654f647664727db6f12901579ec2c7 (patch)
tree71bd8d3b791dbd486222c870d72e1dd8c7607ea2 /source4/heimdal_build
parent0c8e9cc7570f7498b4ea533325a1d324c3e75be9 (diff)
downloadsamba-8f0d06fa5e654f647664727db6f12901579ec2c7.tar.gz
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
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h
index bd5a1b86bbe..2d113ae543f 100644
--- a/source4/heimdal_build/config.h
+++ b/source4/heimdal_build/config.h
@@ -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