aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure
index dd1c80a..54c2399 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"