fix 343825

This commit is contained in:
Matthias Clasen 2006-11-15 19:17:16 +00:00
parent 5df73fe1fb
commit ea372366de
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-11-15 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-gettext.m4: Apply a patch from James
Henstridge for compatibility with automake 2.60 (#343825)
2006-11-14 Behdad Esfahbod <behdad@gnome.org>
* sanity_check: Replace bash-specific == with sh-understood =.

View File

@ -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])
])