From 88fd98b7c4ed41ab6c6ac5a226581e862ae900f3 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 12 Aug 2009 17:44:48 -0700 Subject: Fix EVERY SINGLE build on the buildfarm that doesn't have bindtextdomain or textdomain. C'mon, this is what configure.in is *FOR*. Jeremy. --- source3/utils/net.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/utils/net.c') diff --git a/source3/utils/net.c b/source3/utils/net.c index 1e3923fc3b..58c962327d 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -678,8 +678,12 @@ static struct functable net_func[] = { load_case_tables(); setlocale(LC_ALL, ""); +#if defined(HAVE_BINDTEXTDOMAIN) bindtextdomain(MODULE_NAME, dyn_LOCALEDIR); +#endif +#if defined(HAVE_TEXTDOMAIN) textdomain(MODULE_NAME); +#endif /* set default debug level to 0 regardless of what smb.conf sets */ DEBUGLEVEL_CLASS[DBGC_ALL] = 0; -- cgit