]> code.delx.au - pulseaudio/commitdiff
x11: Fix build without NLS support
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 14 Dec 2011 16:27:01 +0000 (21:57 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 14 Dec 2011 16:27:38 +0000 (21:57 +0530)
src/utils/pax11publish.c

index ddfb7242f1125d583fab5834baf056527cc8ad0b..d3ffc78b661825252425d9dcac2661645f511e37 100644 (file)
@@ -48,7 +48,9 @@ int main(int argc, char *argv[]) {
     enum { DUMP, EXPORT, IMPORT, REMOVE } mode = DUMP;
 
     setlocale(LC_ALL, "");
+#ifdef ENABLE_NLS
     bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
+#endif
 
     while ((c = getopt(argc, argv, "deiD:S:O:I:c:hr")) != -1) {
         switch (c) {