… | |
… | |
29 | #ifndef GETOPT_NLS |
29 | #ifndef GETOPT_NLS |
30 | #define GETOPT_NLS |
30 | #define GETOPT_NLS |
31 | |
31 | |
32 | #define PACKAGE "getopt" |
32 | #define PACKAGE "getopt" |
33 | |
33 | |
34 | #ifndef WITHOUT_GETTEXT |
34 | #if WITHOUT_GETTEXT |
35 | #include <libintl.h> |
|
|
36 | #define _(Text) gettext (Text) |
|
|
37 | #else /* def WITHOUT_GETTEXT */ |
|
|
38 | #define _(Text) (Text) |
35 | #define _(Text) (Text) |
39 | #undef bindtextdomain |
36 | #undef bindtextdomain |
40 | #define bindtextdomain(Domain,Directory) /* empty */ |
37 | #define bindtextdomain(Domain,Directory) /* empty */ |
41 | #undef textdomain |
38 | #undef textdomain |
42 | #define textdomain(Domain) /* empty */ |
39 | #define textdomain(Domain) /* empty */ |
|
|
40 | #undef setlocale |
|
|
41 | #define setlocale(Category,Locale) /* empty */ |
|
|
42 | #else /* not WITHOUT_GETTEXT */ |
|
|
43 | #include <libintl.h> |
|
|
44 | #define _(Text) gettext (Text) |
43 | #endif /* ndef WITHOUT_GETTEXT */ |
45 | #endif /* WITHOUT_GETTEXT */ |
44 | |
46 | |
45 | #endif /* def GETOPT_NLS */ |
47 | #endif /* def GETOPT_NLS */ |
46 | |
48 | |
47 | #else /* not NOT_UTIL_LINUX */ |
49 | #else /* not NOT_UTIL_LINUX */ |
48 | #include "../lib/nls.h" |
50 | #include "../lib/nls.h" |