Blame SOURCES/gcc5-java-nomulti.patch

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