Fix EVERY SINGLE build on the buildfarm that doesn't have
[gd/samba/.git] / source3 / utils / net.c
index 1e3923fc3b9eec766b48f44da474939a59fe763d..58c962327d43bfa5bc743afea88792e0ce0e78f6 100644 (file)
@@ -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;