aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-04-20 17:58:49 +0000
committerPedro Alves <palves@redhat.com>2012-04-20 17:58:49 +0000
commit38ea300a20224b953f2102a8ab1ffb5cef49b480 (patch)
treee45ce9aab60d748605353bc9def825f966b0cd6e /gdb/gdbserver
parent111dfaae0479f43eab9f3411c90ee03104a2be2d (diff)
downloadgdb-38ea300a20224b953f2102a8ab1ffb5cef49b480.zip
gdb-38ea300a20224b953f2102a8ab1ffb5cef49b480.tar.gz
gdb-38ea300a20224b953f2102a8ab1ffb5cef49b480.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rwxr-xr-xgdb/gdbserver/configure7
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 7b48e19..d584b29 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 5ab1885..63e25c2 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"