summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorgeir Lerkerød <torgeir.lerkerod@gmail.com>2009-10-20 18:25:53 +0200
committerStefan Metzmacher <metze@samba.org>2009-10-21 15:46:38 +0200
commit6e5dad49d9cfc8e8a3fc6c1e60733d6e25865ef7 (patch)
treed81e7ce39e8a0f69a4242a0481bb838bb0471e1d
parent094493115971cf3d5a3138ff10ebe02335824723 (diff)
downloadsamba-6e5dad49d9cfc8e8a3fc6c1e60733d6e25865ef7.tar.gz
samba-6e5dad49d9cfc8e8a3fc6c1e60733d6e25865ef7.tar.bz2
samba-6e5dad49d9cfc8e8a3fc6c1e60733d6e25865ef7.zip
S4: Building on a system with libintl
Heimdal's internal buildsystem uses a different define for checking for libintl than what samba uses. LIBINTL vs HAVE_LIBINTL_H. Since changing heimdals defineswould brake dropin merges of heimdal. This is a simple workaround in line with others in heimdal_build catalog. Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/heimdal_build/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h
index 8c0e6b0475..8e9501b23b 100644
--- a/source4/heimdal_build/config.h
+++ b/source4/heimdal_build/config.h
@@ -36,4 +36,9 @@
#define uwrap_enabled() 0
#endif
+/*Workaround for heimdal define vs samba define*/
+#ifdef HAVE_LIBINTL_H
+#define LIBINTL
+#endif
+
#endif