From cb7283db10852902efd48f4e9f6ae3749cf0cf61 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 16 Nov 2006 22:04:09 +0000 Subject: [PATCH] * configure.ac: Correct td_thr_tls_get_addr test. * configure: Regenerated. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/configure | 2 +- gdb/gdbserver/configure.ac | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index fa7080f730d..7d92da2b85b 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2006-11-16 Daniel Jacobowitz + + * configure.ac: Correct td_thr_tls_get_addr test. + * configure: Regenerated. + 2006-11-16 Daniel Jacobowitz * linux-low.c (linux_wait_for_event): Reformat. Use the diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index a5b5e052972..0aec9831788 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -3968,7 +3968,7 @@ _ACEOF fi - if test "$srv_cv_tls_get_addr"; then + if test "$srv_cv_tls_get_addr" = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_TD_THR_TLS_GET_ADDR 1 diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index ce8ed2a48dc..ef4a423750a 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -135,7 +135,7 @@ if test "$srv_linux_thread_db" = "yes"; then AC_DEFINE(HAVE_TD_VERSION, 1, [Define if TD_VERSION is available.]) fi - if test "$srv_cv_tls_get_addr"; then + if test "$srv_cv_tls_get_addr" = yes; then AC_DEFINE(HAVE_TD_THR_TLS_GET_ADDR, 1, [Define if td_thr_tls_get_addr is available.]) fi fi -- 2.30.2