diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-06 19:03:12 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-06 19:03:12 +0000 |
commit | 11763c18565305217892e8e302eb55c7ced0cbcc (patch) | |
tree | 0ad607f5bc88007a6f3879ea83a8dc167f20f399 /gdb/configure.ac | |
parent | a6cc4789c3221ece1816cb1264d737d438c51f00 (diff) | |
download | gdb-11763c18565305217892e8e302eb55c7ced0cbcc.zip gdb-11763c18565305217892e8e302eb55c7ced0cbcc.tar.gz gdb-11763c18565305217892e8e302eb55c7ced0cbcc.tar.bz2 |
* configure, config.in: Rebuild.
* configure.ac (HAVE_LIBPYTHON2_7): New define.
* python/python-internal.h: Handle HAVE_LIBPYTHON2_7.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 7ddb67f..bfe1803 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -792,7 +792,9 @@ else ${python_includes}, "${python_libs} -lpython2.4") fi fi - if test "${have_libpython}" = python2.6; then + if test "${have_libpython}" = python2.7; then + AC_DEFINE(HAVE_LIBPYTHON2_7, 1, [Define if Python 2.7 is being used.]) + elif test "${have_libpython}" = python2.6; then AC_DEFINE(HAVE_LIBPYTHON2_6, 1, [Define if Python 2.6 is being used.]) elif test "${have_libpython}" = python2.5; then AC_DEFINE(HAVE_LIBPYTHON2_5, 1, [Define if Python 2.5 is being used.]) |