From 8c85a4e2f7b1b536104ffcb95f843fb048c229e9 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 27 Jan 2012 18:23:12 +0000 Subject: [PATCH] * configure.ac (with_python): Fix absolute path handling for win32. * configure: Regenerate. --- gdb/ChangeLog | 5 +++++ gdb/configure | 2 +- gdb/configure.ac | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 15dcba11a51..3cf8f2ae777 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-01-27 Doug Evans + + * configure.ac (with_python): Fix absolute path handling for win32. + * configure: Regenerate. + 2012-01-26 Doug Evans * symtab.c: Whitespace cleanup, no code changes. diff --git a/gdb/configure b/gdb/configure index 920c7160eb8..8cce4fd1514 100755 --- a/gdb/configure +++ b/gdb/configure @@ -10814,7 +10814,7 @@ $as_echo "$as_me: WARNING: python support disabled; some features may be unavail have_libpython=no else case "${with_python}" in - /*) + [\\/]* | ?:[\\/]*) if test -d ${with_python}; then # Assume the python binary is ${with_python}/bin/python. python_prog="${with_python}/bin/python" diff --git a/gdb/configure.ac b/gdb/configure.ac index 6f9a42cfd1b..cf11605474e 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -734,7 +734,7 @@ if test "${with_python}" = no; then have_libpython=no else case "${with_python}" in - /*) + [[\\/]]* | ?:[[\\/]]*) if test -d ${with_python}; then # Assume the python binary is ${with_python}/bin/python. python_prog="${with_python}/bin/python" -- 2.30.2