2012-04-20 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 20 Apr 2012 17:58:49 +0000 (17:58 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 20 Apr 2012 17:58:49 +0000 (17:58 +0000)
gdb/
* acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute
$srcdir.
* configure: Regenerate.

gdb/gdbserver/
* configure: Regenerate.

gdb/ChangeLog
gdb/acx_configure_dir.m4
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure

index 31a8b5a0208e7d781520883b85c79aeacf6f5bc0..9d8244a2c7da66930b6cedb861ae2a42b1913b53 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-20  Pedro Alves  <palves@redhat.com>
+
+       * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute
+       $srcdir.
+       * configure: Regenerate.
+
 2012-04-20  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * cp-support.h: Include `gdb_vecs.h'.  Delete `const_char_ptr' VEC
index 57a64a62f49a35c4ba13cfc192e8c6475ed11e98..e4318751478ddc603e41ae3a3fe74f1c7100a829 100644 (file)
@@ -89,7 +89,12 @@ AC_DEFUN([ACX_CONFIGURE_DIR],
   _AS_ECHO([$ac_msg])
   AS_MKDIR_P(["$ac_dir"])
 
-  ac_srcdir=../$srcdir/$in_src
+  case $srcdir in
+  [[\\/]]* | ?:[[\\/]]* )
+    ac_srcdir=$srcdir/$in_src ;;
+  *) # Relative name.
+    ac_srcdir=../$srcdir/$in_src ;;
+  esac
 
   cd "$ac_dir"
 
index dd1c80a110f3d85d50fff26bf753f0389bd5c68b..54c2399080d314c36d4659d8ad4006d298bc3eb8 100755 (executable)
@@ -4648,7 +4648,12 @@ fi
   $as_echo "$ac_msg" >&6
   as_dir="$ac_dir"; as_fn_mkdir_p
 
-  ac_srcdir=../$srcdir/$in_src
+  case $srcdir in
+  [\\/]* | ?:[\\/]* )
+    ac_srcdir=$srcdir/$in_src ;;
+  *) # Relative name.
+    ac_srcdir=../$srcdir/$in_src ;;
+  esac
 
   cd "$ac_dir"
 
index 7b48e194fdebda62a4b518c5ffb43a97645d3565..d584b29e7cf8a3a7e00819e59785699bcbc2d998 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-20  Pedro Alves  <palves@redhat.com>
+
+       * configure: Regenerate.
+
 2012-04-19  Pedro Alves  <palves@redhat.com>
 
         * Makefile.in (GNULIB_BUILDDIR): New.
index 5ab18856efd1df1aeff73fe1f26f70fa3b4bebd2..63e25c239ea7fa27f3bbad360be3b651a6dd5714 100755 (executable)
@@ -4391,7 +4391,12 @@ done
   $as_echo "$ac_msg" >&6
   as_dir="$ac_dir"; as_fn_mkdir_p
 
-  ac_srcdir=../$srcdir/$in_src
+  case $srcdir in
+  [\\/]* | ?:[\\/]* )
+    ac_srcdir=$srcdir/$in_src ;;
+  *) # Relative name.
+    ac_srcdir=../$srcdir/$in_src ;;
+  esac
 
   cd "$ac_dir"