* 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> 2010-06-15 Pedro Alves <pedro@codesourcery.com>
* Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. * 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 esac
if test "${gdb_native}" = yes; then
if test ${build} = ${host} -a ${host} = ${target} ; then
if test "$GCC" = "yes" ; then if test "$GCC" = "yes" ; then
# The dynamically loaded libthread_db needs access to symbols in the gdb # The dynamically loaded libthread_db needs access to symbols in the gdb
# executable. Older GNU ld supports --export-dynamic but --dynamic-list # 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 "$as_me:${as_lineno-$LINENO}: result: $found" >&5
$as_echo "$found" >&6; } $as_echo "$found" >&6; }
fi fi
fi
if test ${build} = ${host} -a ${host} = ${target} ; then
case ${host_os} in case ${host_os} in
hpux*) hpux*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPUX/OSF thread support" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPUX/OSF thread support" >&5

View File

@ -1453,14 +1453,7 @@ aix*)
;; ;;
esac esac
if test "${gdb_native}" = yes; then
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 "$GCC" = "yes" ; then if test "$GCC" = "yes" ; then
# The dynamically loaded libthread_db needs access to symbols in the gdb # The dynamically loaded libthread_db needs access to symbols in the gdb
# executable. Older GNU ld supports --export-dynamic but --dynamic-list # 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" LDFLAGS="$old_LDFLAGS"
AC_MSG_RESULT($found) AC_MSG_RESULT($found)
fi 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 case ${host_os} in
hpux*) hpux*)
AC_MSG_CHECKING(for HPUX/OSF thread support) AC_MSG_CHECKING(for HPUX/OSF thread support)