summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-02-24 23:38:42 -0800
committerTim Prouty <tprouty@samba.org>2009-02-25 00:36:43 -0800
commiteb5efd1978acd38cf6cc97e067b5105743ca5469 (patch)
tree106784a8516c8a47d583d8b690f33b6146f31f0e /source4/heimdal_build
parent662f996b1554508baf7344b8618f152c179f1680 (diff)
downloadsamba-eb5efd1978acd38cf6cc97e067b5105743ca5469.tar.gz
samba-eb5efd1978acd38cf6cc97e067b5105743ca5469.tar.bz2
samba-eb5efd1978acd38cf6cc97e067b5105743ca5469.zip
s4 heimdal: Link libintl correctly
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/internal.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal_build/internal.m4 b/source4/heimdal_build/internal.m4
index 50a3c8adda..a48777fab1 100644
--- a/source4/heimdal_build/internal.m4
+++ b/source4/heimdal_build/internal.m4
@@ -170,6 +170,12 @@ SMB_ENABLE(OPENPTY,YES)
SMB_EXT_LIB(OPENPTY,[${OPENPTY_LIBS}],[${OPENPTY_CFLAGS}],[${OPENPTY_CPPFLAGS}],[${OPENPTY_LDFLAGS}])
+AC_CHECK_LIB_EXT(intl, INTL_LIBS, gettext)
+
+SMB_ENABLE(INTL,YES)
+
+SMB_EXT_LIB(INTL, $INTL_LIBS)
+
smb_save_LIBS=$LIBS
RESOLV_LIBS=""
LIBS=""