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