diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-16 02:11:33 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-16 02:11:33 +0000 |
commit | 36d69d0647db4aad5c2bd0118ed265c4229c207f (patch) | |
tree | 512c3db45acc6004efc120a01cb9b22ad99bc85c /libjava/configure.in | |
parent | de5ab3f1d1c41ca6fd5528032c39c1097261d290 (diff) | |
download | gcc-36d69d0647db4aad5c2bd0118ed265c4229c207f.tar.gz |
* configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
* acinclude.m4: Include acx.m4.
* aclocal.m4: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.in')
-rw-r--r-- | libjava/configure.in | 73 |
1 files changed, 38 insertions, 35 deletions
diff --git a/libjava/configure.in b/libjava/configure.in index fd524b413dc..33f240ee979 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -2,44 +2,10 @@ dnl Process this with autoconf to create configure AC_PREREQ(2.13) AC_INIT(java/lang/System.java) -# This works around the fact that libtool configuration may change LD -# for this particular configuration, but some shells, instead of -# keeping the changes in LD private, export them just because LD is -# exported. -ORIGINAL_LD_FOR_MULTILIBS=$LD - -AC_PROG_LN_S - dnl We use these options to decide which functions to include. AC_ARG_WITH(target-subdir, [ --with-target-subdir=SUBDIR configuring in a subdirectory]) -AC_ARG_WITH(cross-host, -[ --with-cross-host=HOST configuring with a cross compiler]) - -AC_ARG_WITH(newlib, -[ --with-newlib Configuring with newlib]) - -AC_ARG_ENABLE(version-specific-runtime-libs, -[ --enable-version-specific-runtime-libs - specify that runtime libraries should be installed in a compiler-specific - directory ], - [case "$enableval" in - yes) version_specific_libs=yes ;; - no) version_specific_libs=no ;; - *) AC_MSG_ERROR([Unknown argument to enable/disable version-specific libs]);; - esac], - [version_specific_libs=no] -) - -dnl Default to --enable-multilib -AC_ARG_ENABLE(multilib, -[ --enable-multilib build many library versions (default)], -[case "${enableval}" in - yes) multilib=yes ;; - no) multilib=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;; - esac], [multilib=yes])dnl dnl We may get other options which we don't document: dnl --with-target-subdir, --with-multisrctop, --with-multisubdir @@ -73,11 +39,48 @@ if :; then :; else AC_CONFIG_AUX_DIR(..) fi +AC_CANONICAL_SYSTEM + +_GCC_TOPLEV_NONCANONICAL_TARGET + +# This works around the fact that libtool configuration may change LD +# for this particular configuration, but some shells, instead of +# keeping the changes in LD private, export them just because LD is +# exported. +ORIGINAL_LD_FOR_MULTILIBS=$LD + +AC_PROG_LN_S + # This works around an automake problem. mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" AC_SUBST(mkinstalldirs) -AC_CANONICAL_SYSTEM +AC_ARG_WITH(cross-host, +[ --with-cross-host=HOST configuring with a cross compiler]) + +AC_ARG_WITH(newlib, +[ --with-newlib Configuring with newlib]) + +AC_ARG_ENABLE(version-specific-runtime-libs, +[ --enable-version-specific-runtime-libs + specify that runtime libraries should be installed in a compiler-specific + directory ], + [case "$enableval" in + yes) version_specific_libs=yes ;; + no) version_specific_libs=no ;; + *) AC_MSG_ERROR([Unknown argument to enable/disable version-specific libs]);; + esac], + [version_specific_libs=no] +) + +dnl Default to --enable-multilib +AC_ARG_ENABLE(multilib, +[ --enable-multilib build many library versions (default)], +[case "${enableval}" in + yes) multilib=yes ;; + no) multilib=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;; + esac], [multilib=yes])dnl dnl This shouldn't be needed, as long as top-level dependencies are dnl defined correctly and shared-library paths are set up so that |