THRIFT-1385 make install doesn't install java library in the setted folder

Signed-off-by: Verdoïa Laurent
Reviewed-by: Tom Lippincott
diff --git a/configure.ac b/configure.ac
index 37f19c9..ddbf24f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -34,10 +34,8 @@
 AS_IF([test "x$PY_PREFIX" = x], [PY_PREFIX="/usr"])
 
 AC_ARG_VAR([JAVA_PREFIX], [Prefix for installing the Java lib jar.
-                           (Normal --prefix is ignored for Java because
-                           Java has different conventions.)
-                           Default = "/usr/local/lib"])
-AS_IF([test "x$JAVA_PREFIX" = x], [JAVA_PREFIX="/usr/local/lib"])
+                           Default = "PREFIX/usr/local/lib"])
+AS_IF([test "x$JAVA_PREFIX" = x], [JAVA_PREFIX="$prefix/usr/local/lib"])
 
 AC_ARG_VAR([RUBY_PREFIX], [Prefix for installing Ruby modules.
                            (Normal --prefix is ignored for Ruby because