Skip to content

Commit

Permalink
* Makefile.in: handle DOS-style absolute paths.
Browse files Browse the repository at this point in the history
* config-ml.in: likewise.
* symlink-tree: likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38154 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
dj committed Dec 9, 2000
1 parent 79f218a commit 2adfe2a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2000-12-09 Laurynas Biveinis <lauras@softhome.net>

* Makefile.in: handle DOS-style absolute paths.
* config-ml.in: likewise.
* symlink-tree: likewise.

2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>

* fastjar: Imported.
Expand Down
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ $(CONFIGURE_TARGET_MODULES):
echo Configuring in $(TARGET_SUBDIR)/$${dir}; \
cd $(TARGET_SUBDIR)/$${dir}; \
case $(srcdir) in \
/*) \
/* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \
*) \
case "$(TARGET_SUBDIR)" in \
Expand Down
4 changes: 2 additions & 2 deletions config-ml.in
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
;;
*)
case "${srcdir}" in
/*) # absolute path
/* | [A-Za-z]:[\\/]* ) # absolute path
ml_newsrcdir=${srcdir}
;;
*) # otherwise relative
Expand All @@ -733,7 +733,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
esac

case "${progname}" in
/*) ml_recprog=${progname} ;;
/* | [A-Za-z]:[\\/]* ) ml_recprog=${progname} ;;
*) ml_recprog=${dotdot}${progname} ;;
esac

Expand Down
4 changes: 2 additions & 2 deletions symlink-tree
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2adfe2a

Please sign in to comment.