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/acx_configure_dir.m4 | |
parent | 111dfaae0479f43eab9f3411c90ee03104a2be2d (diff) | |
download | fsf-binutils-gdb-38ea300a20224b953f2102a8ab1ffb5cef49b480.zip fsf-binutils-gdb-38ea300a20224b953f2102a8ab1ffb5cef49b480.tar.gz fsf-binutils-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/acx_configure_dir.m4')
-rw-r--r-- | gdb/acx_configure_dir.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/acx_configure_dir.m4 b/gdb/acx_configure_dir.m4 index 57a64a6..e431875 100644 --- a/gdb/acx_configure_dir.m4 +++ b/gdb/acx_configure_dir.m4 @@ -89,7 +89,12 @@ AC_DEFUN([ACX_CONFIGURE_DIR], _AS_ECHO([$ac_msg]) AS_MKDIR_P(["$ac_dir"]) - ac_srcdir=../$srcdir/$in_src + case $srcdir in + [[\\/]]* | ?:[[\\/]]* ) + ac_srcdir=$srcdir/$in_src ;; + *) # Relative name. + ac_srcdir=../$srcdir/$in_src ;; + esac cd "$ac_dir" |