diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-10-24 13:51:55 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-10-24 14:14:07 -0500 |
commit | cbb5a2ea493d0cbe49defc3d45ebe3b7e2728a51 (patch) | |
tree | 6e49a5edfad609dfe6edefcbf5f39faa3ef4bd92 /gdb/configure.ac | |
parent | 71737c435dc0cff19e86e9a60f08caa2865784e2 (diff) | |
download | gdb-cbb5a2ea493d0cbe49defc3d45ebe3b7e2728a51.zip gdb-cbb5a2ea493d0cbe49defc3d45ebe3b7e2728a51.tar.gz gdb-cbb5a2ea493d0cbe49defc3d45ebe3b7e2728a51.tar.bz2 |
Remove python_has_threads check in configure.ac
The only use of python_has_threads has been removed in
commit 404f29021abaef86a341663444fb069eb1f0282a
gdb/ChangeLog:
2019-10-24 Christian Biesinger <cbiesinger@google.com>
* configure: Rebuild.
* configure.ac: Remove code that sets python_has_threads.
Change-Id: I75f1b873562bc2abc6f2db17699a3e82fcfd2de3
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index f11dccd..cb331be 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -948,23 +948,6 @@ if test "${have_libpython}" != no; then fi ;; esac - - # Note that "python -m threading" cannot be used to check for - # threading support due to a bug in Python 2.7.3 - # (http://bugs.python.org/issue15567). - AC_MSG_CHECKING(whether python supports threads) - saved_CPPFLAGS="${CPPFLAGS}" - CPPFLAGS="${PYTHON_CPPFLAGS}" - # Note that the test is reversed so that python_has_threads=yes on - # unexpected failures. - AC_PREPROC_IFELSE([AC_LANG_SOURCE([[ -#include <Python.h> -#ifdef WITH_THREAD -# error -#endif - ]])], [python_has_threads=no], [python_has_threads=yes]) - AC_MSG_RESULT(${python_has_threads}) - CPPFLAGS="${saved_CPPFLAGS}" else # Even if Python support is not compiled in, we need to have this file # included so that the "python" command, et.al., still exists. |