* configure.ac (with_python): Fix absolute path handling for win32.
authorDoug Evans <dje@google.com>
Fri, 27 Jan 2012 18:23:12 +0000 (18:23 +0000)
committerDoug Evans <dje@google.com>
Fri, 27 Jan 2012 18:23:12 +0000 (18:23 +0000)
* configure: Regenerate.

gdb/ChangeLog
gdb/configure
gdb/configure.ac

index 15dcba1..3cf8f2a 100644 (file)
@@ -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.
index 920c716..8cce4fd 100755 (executable)
@@ -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"
index 6f9a42c..cf11605 100644 (file)
@@ -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"