17 lines
486 B
Diff
17 lines
486 B
Diff
--- m4macros/glib-gettext.m4
|
|
+++ m4macros/glib-gettext.m4
|
|
@@ -369,7 +369,12 @@
|
|
if test "x$CATOBJEXT" = "x.mo" ; then
|
|
localedir=`eval echo "${libdir}/locale"`
|
|
else
|
|
- localedir=`eval echo "${datadir}/locale"`
|
|
+ localedir="${datadir}/locale"
|
|
+ while true; do
|
|
+ expanded_localedir=`eval echo "$localedir"`
|
|
+ test "x$expanded_localedir" = "x$localedir" && break
|
|
+ localedir="$expanded_localedir"
|
|
+ done
|
|
fi
|
|
prefix="$glib_save_prefix"
|
|
exec_prefix="$glib_save_exec_prefix"
|