aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-10-23 17:00:51 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-10-24 13:47:37 -0500
commit71737c435dc0cff19e86e9a60f08caa2865784e2 (patch)
tree9df545ed5a2775848317fae42d279490b57b9abd /gdb/config.in
parent4ccdfbec5028a56b9847ec2687b9139e1769ffc5 (diff)
downloadgdb-71737c435dc0cff19e86e9a60f08caa2865784e2.zip
gdb-71737c435dc0cff19e86e9a60f08caa2865784e2.tar.gz
gdb-71737c435dc0cff19e86e9a60f08caa2865784e2.tar.bz2
Simplify Python checks in configure.ac
The version checking code is not necessary. It is only used to define HAVE_LIBPYTHON2_6 or HAVE_LIBPYTHON2_7, which is not used anywhere. If a version check is desired, the PY_{MAJOR,MINOR}_VERSION macro from the Python headers can be (and is) used, which does not require updating configure.ac whenever a new Python version is released. gdb/ChangeLog: 2019-10-24 Christian Biesinger <cbiesinger@google.com> * config.in: Regenerate. * configure: Regenerate. * configure.ac: Remove the code that uses sed to get the python version and defines HAVE_LIBPYTHON2_6 / HAVE_LIBPYTHON2_7. Change-Id: I07073870d9040c2bc8519882c8b3c1368edd4513
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/config.in b/gdb/config.in
index da365a7..a76ac9f 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -246,12 +246,6 @@
/* Define if you have the mpfr library. */
#undef HAVE_LIBMPFR
-/* Define if Python 2.6 is being used. */
-#undef HAVE_LIBPYTHON2_6
-
-/* Define if Python 2.7 is being used. */
-#undef HAVE_LIBPYTHON2_7
-
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
#undef HAVE_LIBUNWIND_IA64_H