diff options
author | Pedro Alves <palves@redhat.com> | 2012-04-20 17:58:49 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-04-20 17:58:49 +0000 |
commit | 38ea300a20224b953f2102a8ab1ffb5cef49b480 (patch) | |
tree | e45ce9aab60d748605353bc9def825f966b0cd6e | |
parent | 111dfaae0479f43eab9f3411c90ee03104a2be2d (diff) | |
download | binutils-gdb-38ea300a20224b953f2102a8ab1ffb5cef49b480.tar.gz |
2012-04-20 Pedro Alves <palves@redhat.com>
gdb/
* acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute
$srcdir.
* configure: Regenerate.
gdb/gdbserver/
* configure: Regenerate.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/acx_configure_dir.m4 | 7 | ||||
-rwxr-xr-x | gdb/configure | 7 | ||||
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 7 |
5 files changed, 28 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 31a8b5a0208..9d8244a2c7d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/acx_configure_dir.m4 b/gdb/acx_configure_dir.m4 index 57a64a62f49..e4318751478 100644 --- a/gdb/acx_configure_dir.m4 +++ b/gdb/acx_configure_dir.m4 @@ -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" diff --git a/gdb/configure b/gdb/configure index dd1c80a110f..54c2399080d 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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" diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 7b48e194fde..d584b29e7cf 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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. diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 5ab18856efd..63e25c239ea 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -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" |