* 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 15dcba11a5104bd0328ea9031694e6b97d54a754..3cf8f2ae777744101fe004bf54fe9d829e2895be 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 920c7160eb837435963ee672f4b6635257f12a10..8cce4fd15145b352e15fdd1cc59696656d376099 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 6f9a42cfd1bef151470cf61c520e6873d45c356e..cf11605474e76a097d7c529451d3fd9d046ace5d 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"