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