From 8f0d06fa5e654f647664727db6f12901579ec2c7 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Wed, 19 Feb 2014 22:17:01 +0100 Subject: 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 Change-Id: I5dd88d2d5216b778624778455cca99b32d0be58f Reviewed-by: Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Thu Feb 20 01:28:24 CET 2014 on sn-devel-104 --- source4/heimdal_build/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/heimdal_build') 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 -- cgit v1.2.1