From: Tor Lillqvist Date: Wed, 7 Dec 2005 03:57:14 +0000 (+0000) Subject: Look up prefix at run-time on Win32, assuming the standard directory X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=d63b58e8c5ff7288804c5c7ca98418c0a37ef557;p=dana%2Fcg-glib.git Look up prefix at run-time on Win32, assuming the standard directory 2005-12-07 Tor Lillqvist * glib-gettextize.in: Look up prefix at run-time on Win32, assuming the standard directory structure with glib-gettextize in $prefix/bin. --- diff --git a/ChangeLog b/ChangeLog index dd69b659..7b7f25e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-07 Tor Lillqvist + + * glib-gettextize.in: Look up prefix at run-time on Win32, + assuming the standard directory structure with glib-gettextize in + $prefix/bin. + 2005-12-06 Matthias Clasen * glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index dd69b659..7b7f25e2 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2005-12-07 Tor Lillqvist + + * glib-gettextize.in: Look up prefix at run-time on Win32, + assuming the standard directory structure with glib-gettextize in + $prefix/bin. + 2005-12-06 Matthias Clasen * glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index dd69b659..7b7f25e2 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2005-12-07 Tor Lillqvist + + * glib-gettextize.in: Look up prefix at run-time on Win32, + assuming the standard directory structure with glib-gettextize in + $prefix/bin. + 2005-12-06 Matthias Clasen * glib/gmem.h: Exempt GTK+ from the mem chunk deprecation, since diff --git a/glib-gettextize.in b/glib-gettextize.in index 01ce883f..05642d7c 100644 --- a/glib-gettextize.in +++ b/glib-gettextize.in @@ -43,7 +43,13 @@ try_ln_s=: # Directory where the sources are stored. prefix=@prefix@ -gettext_dir=@prefix@/share/glib-2.0/gettext +case `uname` in +MINGW32*) + prefix="`dirname $0`/.." + ;; +esac + +gettext_dir=$prefix/share/glib-2.0/gettext while test $# -gt 0; do case "$1" in