aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/config.in
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-04-17 09:58:15 +0000
committerPedro Alves <palves@redhat.com>2013-04-17 09:58:15 +0000
commit7d4e5717e05d588f4b9037310863d8bfc9505064 (patch)
treef8bbbd7b7860f39a184107db29829cd61dbffcf7 /gdb/gdbserver/config.in
parentab11614906ce02b01fc6ef39b35757fa16a467f9 (diff)
downloadbinutils-7d4e5717e05d588f4b9037310863d8bfc9505064.zip
binutils-7d4e5717e05d588f4b9037310863d8bfc9505064.tar.gz
binutils-7d4e5717e05d588f4b9037310863d8bfc9505064.tar.bz2
Use AC_DEFINE for USE_THREAD_DB
Use AC_DEFINE for USE_THREAD_DB instead of manually passing it down through -D flags. gdb/gdbserver/ 2013-04-17 Pedro Alves <palves@redhat.com> * configure.ac (USE_THREAD_DB): Delete variable. (if test "$srv_linux_thread_db" = "yes"): AC_DEFINE USE_THREAD_DB. Don't AC_SUBST USE_THREAD_DB. * Makefile.in (INTERNAL_CFLAGS): Remove @USE_THREAD_DB@. * config.in, configure: Regenerate.
Diffstat (limited to 'gdb/gdbserver/config.in')
-rw-r--r--gdb/gdbserver/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index 738c322..35a836d 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -289,6 +289,9 @@
#endif
+/* Define if we should use libthread_db. */
+#undef USE_THREAD_DB
+
/* Define if we should use the Windows API, instead of the POSIX API. On
Windows, we use the Windows API when building for MinGW, but the POSIX API
when building for Cygwin. */