summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2006-02-14 18:55:42 +0000
committerJohn Millaway <john43@users.sourceforge.net>2006-02-14 18:55:42 +0000
commitb0bb940a14ae8eea34244a50523bdfbdf8637f2b (patch)
tree5995b9a04ad407e29b3219ce4752b0dcc70b48a1 /main.c
parentd24dd73f78e57d4e0a245d3108974efa197025d7 (diff)
Added check for locale.h and libintl.h in configure script.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 101ead8..f28c5da 100644
--- a/main.c
+++ b/main.c
@@ -209,10 +209,12 @@ int main (argc, argv)
char *argv[];
{
#if ENABLE_NLS
+#if HAVE_LOCALE_H
setlocale (LC_MESSAGES, "");
textdomain (PACKAGE);
bindtextdomain (PACKAGE, LOCALEDIR);
#endif
+#endif
return flex_main (argc, argv);
}