diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-29 17:43:44 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-29 17:43:44 +0000 |
commit | 96f1593750e940f6aac4fd5fe29968bbfe1e7f5b (patch) | |
tree | e4498398b97b713b0e40010413bebb41afdd5002 /gdb/gdbserver/configure.ac | |
parent | 64c1b14eac6772851c5f3d56cbf6426e18492e82 (diff) | |
download | gdb-96f1593750e940f6aac4fd5fe29968bbfe1e7f5b.zip gdb-96f1593750e940f6aac4fd5fe29968bbfe1e7f5b.tar.gz gdb-96f1593750e940f6aac4fd5fe29968bbfe1e7f5b.tar.bz2 |
2009-10-29 Paul Pluzhnikov <ppluzhnikov@google.com>
* configure.ac: New --with-libthread-db option.
* thread-db.c: Allow direct dependence on libthread_db.
(thread_db_free): Adjust.
* config.in: Regenerate.
* configure: Likewise.
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r-- | gdb/gdbserver/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index a631c7e..2f2b2a3 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -158,6 +158,13 @@ if test "$srv_linux_thread_db" = "yes"; then fi fi +AC_ARG_WITH(libthread-db, +AS_HELP_STRING([--with-libthread-db=PATH], [use given libthread_db directly]), +[srv_libthread_db_path="${withval}" + AC_DEFINE(USE_LIBTHREAD_DB_DIRECTLY, 1, [Define if we should use libthread_db directly.]) + srv_libs="$srv_libthread_db_path" +]) + if test "$srv_xmlfiles" != ""; then srv_xmlbuiltin="xml-builtin.o" AC_DEFINE(USE_XML, 1, [Define if an XML target description is available.]) |