You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
326 B

Fix building with --disable-nls.
--- a/src/cadaver.c
+++ b/src/cadaver.c
@@ -838,11 +838,11 @@
progname = argv[0];
+#ifdef ENABLE_NLS
#ifdef HAVE_SETLOCALE
setlocale(LC_ALL, "");
#endif
-#ifdef ENABLE_NLS
bindtextdomain(PACKAGE_NAME, LOCALEDIR);
textdomain(PACKAGE_NAME);
#endif /* ENABLE_NLS */