From: Doug Evans Date: Fri, 27 Jan 2012 18:23:12 +0000 (+0000) Subject: * configure.ac (with_python): Fix absolute path handling for win32. X-Git-Tag: sid-snapshot-20120201~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c85a4e2f7b1b536104ffcb95f843fb048c229e9;p=thirdparty%2Fbinutils-gdb.git * configure.ac (with_python): Fix absolute path handling for win32. * configure: Regenerate. --- 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"