* configure.ac: Check for RDYNAMIC also for cross builds.

* configure: Regenerate.
This commit is contained in:
Andreas Schwab
2010-06-15 18:37:18 +00:00
parent 98d64339ed
commit 0407b3f19d
3 changed files with 72 additions and 65 deletions

View File

@ -1,3 +1,8 @@
2010-06-15 Andreas Schwab <schwab@linux-m68k.org>
* configure.ac: Check for RDYNAMIC also for cross builds.
* configure: Regenerate.
2010-06-15 Pedro Alves <pedro@codesourcery.com>
* Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.

7
gdb/configure vendored
View File

@ -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

View File

@ -1453,14 +1453,7 @@ aix*)
;;
esac
dnl For certain native configurations, we need to check whether thread
dnl support can be built in or not.
dnl
dnl Note that we only want this if we are both native (host == target),
dnl and not doing a canadian cross build (build == host).
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
@ -1507,7 +1500,15 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
LDFLAGS="$old_LDFLAGS"
AC_MSG_RESULT($found)
fi
fi
dnl For certain native configurations, we need to check whether thread
dnl support can be built in or not.
dnl
dnl Note that we only want this if we are both native (host == target),
dnl and not doing a canadian cross build (build == host).
if test ${build} = ${host} -a ${host} = ${target} ; then
case ${host_os} in
hpux*)
AC_MSG_CHECKING(for HPUX/OSF thread support)