* as.c (main): Conditionally call setlocale.

* gasp.c (main): Likewise.
	* asintl.h: Include <locale.h> if HAVE_LOCALE_H.
	(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
This commit is contained in:
Tom Tromey 1998-04-29 02:51:43 +00:00
parent faaba487f8
commit 2614063dce
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
* as.c (main): Conditionally call setlocale.
* gasp.c (main): Likewise.
* asintl.h: Include <locale.h> if HAVE_LOCALE_H.
(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
start-sanitize-d30v
Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>

View File

@ -3605,7 +3605,9 @@ main (argc, argv)
ifstack[0].on = 1;
ifi = 0;
#ifdef HAVE_SETLOCALE
setlocale (LC_MESSAGES, "");
#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);