projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[platform/upstream/glib.git]
/
glib-gettextize.in
diff --git
a/glib-gettextize.in
b/glib-gettextize.in
index
01ce883
..
617d6bc
100644
(file)
--- a/
glib-gettextize.in
+++ b/
glib-gettextize.in
@@
-13,8
+13,7
@@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
# - Modified in October 2001 by jacob berkman <jacob@ximian.com> to
#
# - Modified in October 2001 by jacob berkman <jacob@ximian.com> to
@@
-43,7
+42,16
@@
try_ln_s=:
# Directory where the sources are stored.
prefix=@prefix@
# Directory where the sources are stored.
prefix=@prefix@
-gettext_dir=@prefix@/share/glib-2.0/gettext
+case `uname` in
+MINGW32*)
+ prefix="`dirname $0`/.."
+ ;;
+esac
+
+datarootdir=@datarootdir@
+datadir=@datadir@
+
+gettext_dir=$prefix/share/glib-2.0/gettext
while test $# -gt 0; do
case "$1" in
while test $# -gt 0; do
case "$1" in
@@
-170,7
+178,7
@@
echo
echo "Please add the files"
echo " codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4"
echo " progtest.m4"
echo "Please add the files"
echo " codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4"
echo " progtest.m4"
-echo "from the
@datadir@
/aclocal directory to your autoconf macro directory"
+echo "from the
$datadir
/aclocal directory to your autoconf macro directory"
echo "or directly to your aclocal.m4 file."
echo "You will also need config.guess and config.sub, which you can get from"
echo "ftp://ftp.gnu.org/pub/gnu/config/."
echo "or directly to your aclocal.m4 file."
echo "You will also need config.guess and config.sub, which you can get from"
echo "ftp://ftp.gnu.org/pub/gnu/config/."