aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-05-13 11:25:55 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-05-13 07:25:55 -0400
commit7f2749d411523ecdcfc4d33b63cf74961be70c30 (patch)
tree7c24c5bb35e7f8ebf741855b89c90bcf8293a3e1 /gcc/configure.in
parentfca8e37bb187b27900dd592812f0b00e520e0a5e (diff)
downloadgcc-7f2749d411523ecdcfc4d33b63cf74961be70c30.zip
gcc-7f2749d411523ecdcfc4d33b63cf74961be70c30.tar.gz
gcc-7f2749d411523ecdcfc4d33b63cf74961be70c30.tar.bz2
configure.in: ldopen is never in -lexc, so don't test for it.
* configure.in: ldopen is never in -lexc, so don't test for it. Add test for exc_resume in -lexc for Ada. * configure: Regenerated. From-SVN: r42037
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index 84c48e0..8b4d992 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -525,7 +525,7 @@ fi
# We may need a special search path to get them linked.
AC_CACHE_CHECK(for collect2 libraries, gcc_cv_collect2_libs,
[save_LIBS="$LIBS"
-for libs in '' -lld -lmld '-lmld -lexc' \
+for libs in '' -lld -lmld \
'-L/usr/lib/cmplrs/cc2.11 -lmld' \
'-L/usr/lib/cmplrs/cc3.11 -lmld'
do
@@ -541,6 +541,15 @@ case $gcc_cv_collect2_libs in
esac
AC_SUBST(COLLECT2_LIBS)
+# When building Ada code on Alpha, we need exc_resume which is usually in
+# -lexc. So test for it.
+save_LIBS="$LIBS"
+LIBS=
+AC_SEARCH_LIBS(exc_resume, exc)
+GNAT_LIBEXC="$LIBS"
+LIBS="$save_LIBS"
+AC_SUBST(GNAT_LIBEXC)
+
# See if the stage1 system preprocessor understands the ANSI C
# preprocessor stringification operator. (Used by symcat.h.)
AC_C_STRINGIZE