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