Makefile.in: handle DOS-style absolute paths.

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

From-SVN: r38154
This commit is contained in:
Laurynas Biveinis 2000-12-09 16:06:19 +00:00 committed by DJ Delorie
parent 6a52a2ef4b
commit fc26516b4f
4 changed files with 11 additions and 5 deletions

View File

@ -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> 2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
* fastjar: Imported. * fastjar: Imported.

View File

@ -1288,7 +1288,7 @@ $(CONFIGURE_TARGET_MODULES):
echo Configuring in $(TARGET_SUBDIR)/$${dir}; \ echo Configuring in $(TARGET_SUBDIR)/$${dir}; \
cd $(TARGET_SUBDIR)/$${dir}; \ cd $(TARGET_SUBDIR)/$${dir}; \
case $(srcdir) in \ case $(srcdir) in \
/*) \ /* | [A-Za-z]:[\\/]*) \
topdir=$(srcdir) ;; \ topdir=$(srcdir) ;; \
*) \ *) \
case "$(TARGET_SUBDIR)" in \ case "$(TARGET_SUBDIR)" in \

View File

@ -720,7 +720,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
;; ;;
*) *)
case "${srcdir}" in case "${srcdir}" in
/*) # absolute path /* | [A-Za-z]:[\\/]* ) # absolute path
ml_newsrcdir=${srcdir} ml_newsrcdir=${srcdir}
;; ;;
*) # otherwise relative *) # otherwise relative
@ -733,7 +733,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
esac esac
case "${progname}" in case "${progname}" in
/*) ml_recprog=${progname} ;; /* | [A-Za-z]:[\\/]* ) ml_recprog=${progname} ;;
*) ml_recprog=${dotdot}${progname} ;; *) ml_recprog=${dotdot}${progname} ;;
esac esac

View File

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