Description: Use a previously set value of JAVA_ARCH
 The patch looks larger than it is due to indenting. It just closes an "if" earlier.
Author: Thomas Weber <tweber@debian.org>
Origin: vendor
Bug-Debian: http://bugs.debian.org/681355
Forwarded: http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/java/src/configure.base?revision=10762&view=markup
Applied-Upstream: rev 10762
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/configure
+++ b/src/configure
@@ -3302,18 +3302,18 @@
           elif test -d "${JAVA_HOME}/jre/lib/solarisv9"; then
             JAVA_ARCH="solarisv9"
           fi
-          if test -n "$JAVA_ARCH"; then
-            HAVE_JAVA=yes
-            case "$canonical_host_type" in
-              *-mingw* | *-cygwin*)
-                JAVA_LIBS=-ladvapi32
-                JAVA_INCS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/win32"
-                ;;
-              *)
-                JAVA_INCS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux"
-                ;;
-            esac
-          fi
+        fi
+	if test -n "$JAVA_ARCH"; then
+          HAVE_JAVA=yes
+          case "$canonical_host_type" in
+            *-mingw* | *-cygwin*)
+              JAVA_LIBS=-ladvapi32
+              JAVA_INCS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/win32"
+              ;;
+            *)
+              JAVA_INCS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux"
+              ;;
+          esac
         fi
         ;;
     esac
