aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-06-20 21:21:27 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-06-20 21:21:27 +0000
commit1a7b4b7ceda5112d7d42def4439b548725ab0095 (patch)
tree17837298bf15a17a8be38f53feec8bd9ab91d402 /gdb/configure.in
parent8d190aa34423fe7f2890d4d102802ad34cb3463b (diff)
downloadgdb-1a7b4b7ceda5112d7d42def4439b548725ab0095.zip
gdb-1a7b4b7ceda5112d7d42def4439b548725ab0095.tar.gz
gdb-1a7b4b7ceda5112d7d42def4439b548725ab0095.tar.bz2
* configure.in: Revise sol-thread.o test.
* configure: Regenerated. * source.c (find_source_lines): Reassign size to result of read.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 05be6ca..a9a4f56 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -100,7 +100,8 @@ 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.
-if test ${host} = ${target} ; then
+case ${build}:${host}:${target} in
+*-*-solaris2*:*-*-solaris2*:*-*-solaris2*)
AC_MSG_CHECKING(for Solaris thread debugging library)
if test -f /usr/lib/libthread_db.so.1 ; then
AC_MSG_RESULT(yes)
@@ -112,7 +113,7 @@ if test ${host} = ${target} ; then
fi
AC_SUBST(THREAD_DB_OBS)
AC_SUBST(CONFIG_LDFLAGS)
-fi
+esac
dnl Handle optional features that can be enabled.
ENABLE_CFLAGS=