diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-02-20 23:38:58 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-02-20 23:38:58 +0000 |
commit | 715d16565f7550032de4a2501316f9b826749b75 (patch) | |
tree | 5b77b372cc7e486840ab94def67af6947b193bf0 /ld/configure.in | |
parent | 29767ab1281ea1bda02e5d3bfe7da66ec7621dc8 (diff) | |
download | gdb-715d16565f7550032de4a2501316f9b826749b75.zip gdb-715d16565f7550032de4a2501316f9b826749b75.tar.gz gdb-715d16565f7550032de4a2501316f9b826749b75.tar.bz2 |
* configure.in (TARGET_SYSTEM_ROOT): Set default to
${exec_prefix}/${target_alias}/sys-root. Match explicit
'${exec_prefix}' (in addition to the expansion thereof) as
relocatable.
* configure: Rebuilt.
Diffstat (limited to 'ld/configure.in')
-rw-r--r-- | ld/configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/configure.in b/ld/configure.in index 69c8355..4358cbe 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -34,7 +34,7 @@ AC_ARG_WITH(sysroot, [ --with-sysroot[=DIR] Search for usr/lib et al within DIR.], [ case ${with_sysroot} in - yes) AC_ERROR(with-sysroot must specify path) ;; + yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;; *) TARGET_SYSTEM_ROOT=$with_sysroot ;; esac @@ -51,7 +51,8 @@ AC_ARG_WITH(sysroot, test_prefix=$exec_prefix fi case ${TARGET_SYSTEM_ROOT} in - ${test_prefix}*) + "${test_prefix}"|"${test_prefix}/"*|\ + '${exec_prefix}'|'${exec_prefix}/'*) t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE" TARGET_SYSTEM_ROOT_DEFINE="$t" ;; |