diff options
author | Bruno Haible <bruno@clisp.org> | 2003-03-17 09:38:55 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:16 +0200 |
commit | e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba (patch) | |
tree | d990a6fe9a5a1eb1a290ca693376e2cad861760e /gettext-tools/src/read-java.c | |
parent | 5967fb4853108dfc88b79a05a74df4571d262b39 (diff) | |
download | external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.zip external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.tar.gz external_gettext-e71d76e1cdca1bcdbb9c0dbbeb49e8921a6289ba.tar.bz2 |
Support for relocatable installation.
Diffstat (limited to 'gettext-tools/src/read-java.c')
-rw-r--r-- | gettext-tools/src/read-java.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gettext-tools/src/read-java.c b/gettext-tools/src/read-java.c index b9f376e..ed64591 100644 --- a/gettext-tools/src/read-java.c +++ b/gettext-tools/src/read-java.c @@ -1,5 +1,5 @@ /* Reading Java ResourceBundles. - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001-2003 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. This program is free software; you can redistribute it and/or modify @@ -29,6 +29,7 @@ #include <errno.h> #include "msgunfmt.h" +#include "relocatable.h" #include "javaexec.h" #include "pipe.h" #include "wait-process.h" @@ -98,7 +99,7 @@ msgdomain_read_java (const char *resource_name, const char *locale_name) necessary for running the testsuite before "make install". */ gettextjexedir = getenv ("GETTEXTJEXEDIR"); if (gettextjexedir == NULL || gettextjexedir[0] == '\0') - gettextjexedir = GETTEXTJEXEDIR; + gettextjexedir = relocate (GETTEXTJEXEDIR); #else gettextjexedir = NULL; #endif |