aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-01-27 18:23:12 +0000
committerDoug Evans <dje@google.com>2012-01-27 18:23:12 +0000
commit8c85a4e2f7b1b536104ffcb95f843fb048c229e9 (patch)
treeb1a9719995b22a60cd60a59c50042aa7679210e2
parent0d048da385c7e7febf19e3fb57e9acbc59370439 (diff)
downloadgdb-8c85a4e2f7b1b536104ffcb95f843fb048c229e9.zip
gdb-8c85a4e2f7b1b536104ffcb95f843fb048c229e9.tar.gz
gdb-8c85a4e2f7b1b536104ffcb95f843fb048c229e9.tar.bz2
* configure.ac (with_python): Fix absolute path handling for win32.
* configure: Regenerate.
-rw-r--r--gdb/ChangeLog5
-rwxr-xr-xgdb/configure2
-rw-r--r--gdb/configure.ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 15dcba1..3cf8f2a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-27 Doug Evans <dje@google.com>
+
+ * configure.ac (with_python): Fix absolute path handling for win32.
+ * configure: Regenerate.
+
2012-01-26 Doug Evans <dje@google.com>
* symtab.c: Whitespace cleanup, no code changes.
diff --git a/gdb/configure b/gdb/configure
index 920c716..8cce4fd 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 6f9a42c..cf11605 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"