summaryrefslogtreecommitdiff
blob: 039bca3cc5eb508c04608a48746cd8667b1b52a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- gutenprint-5.1.0/src/cups/genppd.c.orig	2007-04-07 16:58:54.000000000 +0200
+++ gutenprint-5.1.0/src/cups/genppd.c	2007-04-07 17:00:24.000000000 +0200
@@ -276,7 +276,9 @@
   const stp_printer_t	*p;		/* Printer driver */
   const char		*lang = "C";
   char			*s;
+#ifdef ENABLE_NLS
   char			**all_langs = getlangs();
+#endif
   char			filename[1024],		/* Filename */
 			ppd_location[1024];	/* Installed location */
 
@@ -474,7 +476,9 @@
       verbose = 0;
       break;
     case 'c':
+#ifdef ENABLE_NLS
       baselocaledir = optarg;
+#endif
 #  ifdef DEBUG
       fprintf(stderr, "DEBUG: baselocaledir: %s\n", baselocaledir);
 #  endif