From 4d745a321bca5ca77e428fc3ad605a045ecd7a12 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 31 Oct 2012 10:21:18 -0400 Subject: [PATCH] Change OSRF_JAVA_DEPSDIR so building Java just works. OSRF_JAVA_DEPSDIR was being set to /opt/java by configure without any documentation to that effect. The src/java/deps.sh downloads the deps files to src/java/deps. This means that you cannot just build java without either copying the jars from src/java/deps or altering src/java/Makefile. This edit changes the AC_SUBST call to replace OSRF_JAVA_DEPSDIR with deps, so that you can at least build java without making any changes. Signed-off-by: Jason Stephenson --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d947e45..f76567f 100644 --- a/configure.ac +++ b/configure.ac @@ -150,7 +150,7 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtrue) # path to the directory containing the java dependency jar files (included if java installs) if test $OSRF_INSTALL_JAVA; then - AC_SUBST([OSRF_JAVA_DEPSDIR], [/opt/java]) + AC_SUBST([OSRF_JAVA_DEPSDIR], [deps]) AC_CONFIG_FILES([src/java/Makefile]) fi -- 2.11.0