diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-30 15:59:41 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-30 15:59:41 +0000 |
commit | 420697bb59a01ea22c533035a3da1d83101a484d (patch) | |
tree | 6a4c1532464701ef9089f41c30d62c1faf82592b /gdb/configure.ac | |
parent | 6c13bbe177b7cf5b87f3670b29a461361d5d8ae3 (diff) | |
download | gdb-420697bb59a01ea22c533035a3da1d83101a484d.zip gdb-420697bb59a01ea22c533035a3da1d83101a484d.tar.gz gdb-420697bb59a01ea22c533035a3da1d83101a484d.tar.bz2 |
* configure: Rebuild.
* configure.ac: Add missing case for Python 2.7.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 7067d26..9595dae 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -622,7 +622,7 @@ dnl no - Don't include python support. dnl yes - Include python support, error if it's missing. dnl If we find python in $PATH, use it to fetch configure options, dnl otherwise assume the compiler can find it with no help from us. -dnl Python 2.6, 2.5, and then 2.4 are tried in turn. +dnl Python 2.7, 2.6, 2.5, and then 2.4 are tried in turn. dnl auto - Same as "yes", but if python is missing from the system, dnl fall back to "no". dnl /path/to/python/exec-prefix - @@ -631,7 +631,7 @@ dnl If /path/to/python/exec-prefix/bin/python exists, use it to find dnl the compilation parameters. Otherwise use dnl -I/path/to/python/exec-prefix/include, dnl -L/path/to/python/exec-prefix/lib. -dnl Python 2.6, 2.5, and then 2.4 are tried in turn. +dnl Python 2.7, 2.6, 2.5, and then 2.4 are tried in turn. dnl NOTE: This case is historical. It is what was done for 7.0/7.1 dnl but is deprecated. dnl /path/to/python/executable - @@ -780,6 +780,10 @@ else esac elif test "${have_python_config}" != failed; then if test "${have_libpython}" = no; then + AC_TRY_LIBPYTHON(python2.7, have_libpython, + ${python_includes}, "${python_libs} -lpython2.7") + fi + if test "${have_libpython}" = no; then AC_TRY_LIBPYTHON(python2.6, have_libpython, ${python_includes}, "${python_libs} -lpython2.6") fi |