13 @@ -783,9 +785,11 @@ int main(int argc, char **argv)
14 uint64_t cur_usage[8], cur_duration[8];
15 double wakeups_per_second = 0;
17 +#ifdef ENABLE_GETTEXT
18 setlocale (LC_ALL, "");
19 bindtextdomain ("powertop", "/usr/share/locale");
20 textdomain ("powertop");
24 static struct option opts[] = {
28 #ifndef __INCLUDE_GUARD_POWERTOP_H_
29 #define __INCLUDE_GUARD_POWERTOP_H_
31 +#ifdef ENABLE_GETTEXT
37 @@ -86,7 +88,11 @@ extern suggestion_func *suggestion_activ
41 +#ifdef ENABLE_GETTEXT
42 #define _(STRING) gettext(STRING)
44 +#define _(STRING) STRING
48 #define PT_COLOR_DEFAULT 1