aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-06-15 18:37:18 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2010-06-15 18:37:18 +0000
commit0407b3f19d91f3dea29b994d0465d2f0fafdedb3 (patch)
treebcbb1d343d4a85de4b10f2f3b7d50dd697ef0b42 /gdb/configure
parent98d64339ed334b1f72ef5265d6bc416d04a4bb55 (diff)
downloadgdb-0407b3f19d91f3dea29b994d0465d2f0fafdedb3.zip
gdb-0407b3f19d91f3dea29b994d0465d2f0fafdedb3.tar.gz
gdb-0407b3f19d91f3dea29b994d0465d2f0fafdedb3.tar.bz2
* configure.ac: Check for RDYNAMIC also for cross builds.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/configure b/gdb/configure
index f3cb23a..7f9c51a 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -14186,9 +14186,7 @@ $as_echo "$gdb_cv_bigtoc" >&6; }
;;
esac
-
-
-if test ${build} = ${host} -a ${host} = ${target} ; then
+if test "${gdb_native}" = yes; then
if test "$GCC" = "yes" ; then
# The dynamically loaded libthread_db needs access to symbols in the gdb
# executable. Older GNU ld supports --export-dynamic but --dynamic-list
@@ -14283,7 +14281,10 @@ rm -f core conftest.err conftest.$ac_objext \
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
$as_echo "$found" >&6; }
fi
+fi
+
+if test ${build} = ${host} -a ${host} = ${target} ; then
case ${host_os} in
hpux*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPUX/OSF thread support" >&5