Blame SOURCES/gcc6-java-nomulti.patch

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