aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@act-europe.fr>2004-02-10 11:54:48 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2004-02-10 11:54:48 +0100
commitd9cdb878ac2b1647b099381a5392dcf799ce66c0 (patch)
tree46d887c4dae9f0ae893d94fbe4e3d1bb7bf0f00e /configure.in
parentc1dcfa140cd0b29c87b18042c9053d57cdda94d0 (diff)
downloadgcc-d9cdb878ac2b1647b099381a5392dcf799ce66c0.zip
gcc-d9cdb878ac2b1647b099381a5392dcf799ce66c0.tar.gz
gcc-d9cdb878ac2b1647b099381a5392dcf799ce66c0.tar.bz2
PR ada/6637, PR ada/5911
PR ada/6637, PR ada/5911 Merge with libada-branch: * configure.in, Makefile.tpl, Makefile.def: Add target-libada, with appropriate dependencies. Add --enable-libada configure switch. * configure, Makefile.in: Regenerate. Co-Authored-By: Nathanael Nerode <neroden@gcc.gnu.org> From-SVN: r77594
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index eb374a4..5657a2d 100644
--- a/configure.in
+++ b/configure.in
@@ -151,7 +151,8 @@ target_libraries="target-libiberty \
target-libstdc++-v3 \
target-libf2c \
${libgcj} \
- target-libobjc"
+ target-libobjc \
+ target-libada"
# these tools are built using the target libraries, and are intended to
# run only in the target environment
@@ -306,6 +307,14 @@ case "${host}" in
;;
esac
+AC_ARG_ENABLE(libada,
+[ --enable-libada Builds libada directory],
+ENABLE_LIBADA=$enableval,
+ENABLE_LIBADA=yes)
+if test "${ENABLE_LIBADA}" != "yes" ; then
+ noconfigdirs="$noconfigdirs target-libada"
+fi
+
# Save it here so that, even in case of --enable-libgcj, if the Java
# front-end isn't enabled, we still get libgcj disabled.
libgcj_saved=$libgcj