diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-11-15 19:17:16 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-11-15 19:17:16 +0000 |
commit | ea372366de480aec95e35d77b1f6c12ae594ccd6 (patch) | |
tree | c6560398556b7c89bbb867e573226a50092b875c /m4macros/glib-gettext.m4 | |
parent | 5df73fe1fb6ce219263d42e582b52f9cb8923fcd (diff) | |
download | glib-ea372366de480aec95e35d77b1f6c12ae594ccd6.tar.gz |
fix 343825
Diffstat (limited to 'm4macros/glib-gettext.m4')
-rw-r--r-- | m4macros/glib-gettext.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4 index 01db6de13..0934ea41d 100644 --- a/m4macros/glib-gettext.m4 +++ b/m4macros/glib-gettext.m4 @@ -376,8 +376,10 @@ glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" +glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix +datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else @@ -385,6 +387,7 @@ else fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" +datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) |