gcc adopts symlink-tree, refer more to libiberty.

symlink-tree: handle DOS-style absolute paths.
This commit is contained in:
Nick Clifton
2001-12-05 10:07:09 +00:00
parent d653df0d95
commit b8ed088fac
3 changed files with 74 additions and 59 deletions

View File

@ -20,13 +20,13 @@ ignore_additional=". .. CVS"
# If we were invoked with a relative path name, adjust ${prog} to work
# in subdirs.
case ${prog} in
/*) ;;
/* | [A-Za-z]:[\\/]*) ;;
*) prog=../${prog} ;;
esac
# Set newsrcdir to something subdirectories can use.
case ${srcdir} in
/*) newsrcdir=${srcdir} ;;
/* | [A-Za-z]:[\\/]*) newsrcdir=${srcdir} ;;
*) newsrcdir=../${srcdir} ;;
esac