Disable NLS support when --disable-nls is passed (bug#1514).
int do_names_list = 0, do_device_list = 0, do_pcm_list = 0;
snd_pcm_info_t *info;
+#ifdef ENABLE_NLS
setlocale(LC_ALL, "");
textdomain(PACKAGE);
+#endif
snd_pcm_info_alloca(&info);
snd_seq_port_subscribe_t *subs;
snd_seq_addr_t sender, dest;
+#ifdef ENABLE_NLS
setlocale(LC_ALL, "");
textdomain(PACKAGE);
+#endif
while ((c = getopt_long(argc, argv, "dior:t:elx", long_option, NULL)) != -1) {
switch (c) {
int port = DEFAULT_PORT;
char *source = NULL, *dest = NULL;
+#ifdef ENABLE_NLS
setlocale(LC_ALL, "");
textdomain(PACKAGE);
+#endif
while ((c = getopt_long(argc, argv, "p:s:d:vi", long_option, NULL)) != -1) {
switch (c) {
{NULL, 0, NULL, 0 },
};
+#ifdef ENABLE_NLS
setlocale(LC_ALL, "");
textdomain(PACKAGE);
+#endif
snd_pcm_hw_params_alloca(&hwparams);
snd_pcm_sw_params_alloca(&swparams);