Commit c7ef96c0 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Deduce. Use GNUMERIC_LOCALE_DIR.

2002-05-14  Morten Welinder  <terra@diku.dk>

	* configure.in (GNUMERIC_LOCALE_DIR): Deduce.
	* src/libgnumeric.c (init_init): Use GNUMERIC_LOCALE_DIR.
parent 42be5cac
2002-05-14 Morten Welinder <terra@diku.dk>
* configure.in (GNUMERIC_LOCALE_DIR): Deduce.
* src/libgnumeric.c (init_init): Use GNUMERIC_LOCALE_DIR.
2002-05-14 Jon K Hellan <hellan@acm.org>
* src/bonobo-io.c (read_from_stream): Brown paper bag.
......
2002-05-14 Morten Welinder <terra@diku.dk>
* configure.in (GNUMERIC_LOCALE_DIR): Deduce.
* src/libgnumeric.c (init_init): Use GNUMERIC_LOCALE_DIR.
2002-05-14 Jon K Hellan <hellan@acm.org>
* src/bonobo-io.c (read_from_stream): Brown paper bag.
......
2002-05-14 Morten Welinder <terra@diku.dk>
* configure.in (GNUMERIC_LOCALE_DIR): Deduce.
* src/libgnumeric.c (init_init): Use GNUMERIC_LOCALE_DIR.
2002-05-14 Jon K Hellan <hellan@acm.org>
* src/bonobo-io.c (read_from_stream): Brown paper bag.
......
......@@ -3,6 +3,7 @@
#undef VERSION
#undef GNUMERIC_VERSION
#undef GNUMERIC_PREFIX
#undef GNUMERIC_LOCALE_DIR
#undef HAVE_LC_MESSAGES
......
......@@ -343,8 +343,10 @@ AM_GLIB_GNU_GETTEXT
# AM_GNOME_GETTEXT above substs $DATADIRNAME
# this is the directory where the *.{mo,gmo} files are installed
gnomelocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(gnomelocaledir)
AC_MSG_CHECKING(locale directory)
GNUMERIC_LOCALE_DIR="${prefix}/${DATADIRNAME}/locale"
AC_DEFINE_UNQUOTED(GNUMERIC_LOCALE_DIR,"$GNUMERIC_LOCALE_DIR")
AC_MSG_RESULT("$GNUMERIC_LOCALE_DIR")
#AC_PATH_PROG(TPUT_CMD,tput,no)
TPUT_CMD=no
......
......@@ -12,7 +12,6 @@ endif
#noinst_PROGRAMS = number-match
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGNUMERIC_PREFIX=\""$(gnumeric_prefix)"\" \
-DGNUMERIC_SYSCONFDIR=\""$(sysconfdir)"\" \
-DGNUMERIC_DATADIR=\""$(gnumeric_datadir)"\" \
......
......@@ -81,7 +81,7 @@ init_init (char const* gnumeric_binary)
/* Make stdout line buffered - we only use it for debug info */
setvbuf (stdout, NULL, _IOLBF, 0);
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, GNUMERIC_LOCALE_DIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment