From d63b58e8c5ff7288804c5c7ca98418c0a37ef557 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 7 Dec 2005 03:57:14 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ glib-gettextize.in | 8 +++++++- 4 files changed, 25 insertions(+), 1 deletion(-) 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 -- 2.34.1