Define ENABLE_NLS and GETTEXT_PACKAGE.

2001-01-17  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32.in: Define ENABLE_NLS and GETTEXT_PACKAGE.

	* makefile.mingw.in
	* makefile.msc.in: Use the GNU intl library.

	* gwin32.c (g_win32_get_package_installation_directory): New
	function. To be used by various GLib-using packages to get their
	installation directory, which should be stored in the Registry by
	some installer.

	* gwin32.h: Declare it.

	* testglib.c (main): Test it.

	* gutils.c: On Win32, define GLIB_LOCALE_DIR using
	g_win32_get_package_installation_directory().

	* glib.def: Update.
This commit is contained in:
Tor Lillqvist
2001-01-16 22:06:23 +00:00
committed by Tor Lillqvist
parent 62ce81bfc7
commit a9d05d4cc4
23 changed files with 321 additions and 10 deletions

View File

@@ -145,3 +145,8 @@
/* #undef HAVE_LIBW */
#define USE_LIBICONV 1
#define ENABLE_NLS 1
/* Dunno if this will expand correctly: */
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"