diff options
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r-- | gdb/gdbserver/configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index f6227d1..fdd8918 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -322,7 +322,6 @@ LIBS="$old_LIBS" srv_thread_depfiles= srv_libs= -USE_THREAD_DB= if test "$srv_linux_thread_db" = "yes"; then if test "$ac_cv_lib_dl_dlopen" = "yes"; then @@ -350,7 +349,7 @@ if test "$srv_linux_thread_db" = "yes"; then fi srv_thread_depfiles="thread-db.o proc-service.o" - USE_THREAD_DB="-DUSE_THREAD_DB" + AC_DEFINE(USE_THREAD_DB, 1, [Define if we should use libthread_db.]) AC_CACHE_CHECK([for TD_VERSION], gdbsrv_cv_have_td_version, [AC_TRY_COMPILE([#include <thread_db.h>], [TD_VERSION;], [gdbsrv_cv_have_td_version=yes], @@ -459,7 +458,6 @@ fi AC_SUBST(GDBSERVER_DEPFILES) AC_SUBST(GDBSERVER_LIBS) -AC_SUBST(USE_THREAD_DB) AC_SUBST(srv_xmlbuiltin) AC_SUBST(srv_xmlfiles) AC_SUBST(IPA_DEPFILES) |