Blame SOURCES/gcc44-java-nomulti.patch

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