summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba94ddb)
raw | patch | inline | side by side (parent: ba94ddb)
author | ishmal <ishmal@users.sourceforge.net> | |
Mon, 10 Mar 2008 07:21:10 +0000 (07:21 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Mon, 10 Mar 2008 07:21:10 +0000 (07:21 +0000) |
src/bind/javabind.cpp | patch | blob | history |
diff --git a/src/bind/javabind.cpp b/src/bind/javabind.cpp
index a25be353eb5ccdfb241aa194934f6046ea888029..2710efcda49d259ed321ab481b23599ec282e5ca 100644 (file)
--- a/src/bind/javabind.cpp
+++ b/src/bind/javabind.cpp
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
#include "javabind.h"
#include "javabind-private.h"
+#include <path-prefix.h>
#include <prefix.h>
#include <glib/gmessages.h>
if (slashPos)
*slashPos = '\0';
javaroot = exeName;
- javaroot.append("\\share\\java");
+ javaroot.append("\\");
+ javaroot.append(INKSCAPE_JAVADIR);
}
static void getJavaRoot(String &javaroot)
{
- javaroot = BR_DATADIR("/java");
+ javaroot = INKSCAPE_JAVADIR;
}
#endif