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 /gdb/gdbserver/configure | |
parent | 111dfaae0479f43eab9f3411c90ee03104a2be2d (diff) | |
download | gdb-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/configure')
-rwxr-xr-x | gdb/gdbserver/configure | 7 |
1 files changed, 6 insertions, 1 deletions
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" |