]>
Commit | Line | Data |
---|---|---|
66ee8158 | 1 | int main(int argc, char *argv[]); |
7eda085c KZ |
2 | |
3 | #include "../defines.h" /* for HAVE_locale_h */ | |
4 | ||
5 | #ifndef PACKAGE | |
6 | #define PACKAGE "util-linux" | |
7 | #endif | |
8 | ||
9 | #ifndef LOCALEDIR | |
10 | #define LOCALEDIR "/usr/share/locale" | |
11 | #endif | |
12 | ||
13 | #ifdef HAVE_locale_h | |
14 | # include <locale.h> | |
15 | #endif | |
16 | ||
17 | #ifdef ENABLE_NLS | |
18 | # include <libintl.h> | |
19 | # define _(Text) gettext (Text) | |
20 | # ifdef gettext_noop | |
21 | # define N_(String) gettext_noop (String) | |
22 | # else | |
23 | # define N_(String) (String) | |
24 | # endif | |
25 | #else | |
26 | # undef bindtextdomain | |
27 | # define bindtextdomain(Domain, Directory) /* empty */ | |
28 | # undef textdomain | |
29 | # define textdomain(Domain) /* empty */ | |
30 | # define _(Text) (Text) | |
31 | # define N_(Text) (Text) | |
32 | #endif | |
33 | ||
34 |