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/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/configure')
-rwxr-xr-x | gdb/configure | 7 |
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" |