Blame SOURCES/gcc6-java-nomulti.patch

78ce48
--- libjava/configure.ac.jj	2007-12-07 17:55:50.000000000 +0100
78ce48
+++ libjava/configure.ac	2007-12-07 18:36:56.000000000 +0100
78ce48
@@ -82,6 +82,13 @@ AC_ARG_ENABLE(java-maintainer-mode,
78ce48
 	[allow rebuilding of .class and .h files]))
78ce48
 AM_CONDITIONAL(JAVA_MAINTAINER_MODE, test "$enable_java_maintainer_mode" = yes)
78ce48
 
78ce48
+AC_ARG_ENABLE(libjava-multilib,
78ce48
+	AS_HELP_STRING([--enable-libjava-multilib], [build libjava as multilib]))
78ce48
+if test "$enable_libjava_multilib" = no; then
78ce48
+  multilib=no
78ce48
+  ac_configure_args="$ac_configure_args --disable-multilib"
78ce48
+fi
78ce48
+
78ce48
 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
78ce48
 GCC_NO_EXECUTABLES
78ce48
 
78ce48
--- libjava/configure.jj	2007-12-07 17:55:50.000000000 +0100
78ce48
+++ libjava/configure	2007-12-07 18:39:58.000000000 +0100
78ce48
@@ -1021,6 +1021,8 @@ Optional Features:
78ce48
                           default=yes
78ce48
   --enable-java-maintainer-mode
78ce48
                           allow rebuilding of .class and .h files
78ce48
+  --enable-libjava-multilib
78ce48
+                          build libjava as multilib
78ce48
   --disable-dependency-tracking  speeds up one-time build
78ce48
   --enable-dependency-tracking   do not reject slow dependency extractors
78ce48
   --enable-maintainer-mode  enable make rules and dependencies not useful
78ce48
@@ -1973,6 +1975,16 @@ else
78ce48
 fi
78ce48
 
78ce48
 
78ce48
+# Check whether --enable-libjava-multilib was given.
78ce48
+if test "${enable_libjava_multilib+set}" = set; then
78ce48
+  enableval=$enable_libjava_multilib;
78ce48
+fi
78ce48
+
78ce48
+if test "$enable_libjava_multilib" = no; then
78ce48
+  multilib=no
78ce48
+  ac_configure_args="$ac_configure_args --disable-multilib"
78ce48
+fi
78ce48
+
78ce48
 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
78ce48
 
78ce48