diff options
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" |