aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-07-04 00:49:25 +0000
committerStu Grossman <grossman@cygnus>1996-07-04 00:49:25 +0000
commit89e673a481dc6d7003dc332afabaf4a3e4d96a66 (patch)
tree9d9cd5e011116ec66f59c2238131a51da99870d3 /gdb/configure.in
parentd41d2ccc635248fc59dcfa0fedb01249f9bf26c1 (diff)
downloadgdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.zip
gdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.tar.gz
gdb-89e673a481dc6d7003dc332afabaf4a3e4d96a66.tar.bz2
* sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
config/sparc/tm-sparclite.h: Initialize tm_print_insn from TM_PRINT_INSN, which comes from the tm file. * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. * configure configure.in: Only make sol-thread.o for native. Also, switch to dlopened libthread_db.so.1. * sol-thread.c: Switch to using dlopen to get the thread_db library. * configure, configure.in: Change test for libthread_db to only work for configs where build/host/target are the same.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 620700a..98dd37a 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -100,8 +100,10 @@ dnl See if thread_db library is around for Solaris thread debugging. Note that
dnl we must explicitly test for version 1 of the library because version 0
dnl (present on Solaris 2.4 or earlier) doesn't have the same API.
-case ${build}:${host}:${target} in
-*-*-solaris2*:*-*-solaris2*:*-*-solaris2*)
+dnl Note that we only want this if we are both native (host == target), and
+dnl not doing a canadian cross build (build == host).
+
+if test ${build} = ${host} -a ${host} = ${target} ; then
AC_MSG_CHECKING(for Solaris thread debugging library)
if test -f /usr/lib/libthread_db.so.1 ; then
AC_MSG_RESULT(yes)
@@ -113,7 +115,7 @@ case ${build}:${host}:${target} in
fi
AC_SUBST(THREAD_DB_OBS)
AC_SUBST(CONFIG_LDFLAGS)
-esac
+fi
dnl Handle optional features that can be enabled.
ENABLE_CFLAGS=