Blame SOURCES/gcc48-java-nomulti.patch

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