From fc26516b4f259936930472b250fa6a2a11b43c56 Mon Sep 17 00:00:00 2001 From: Laurynas Biveinis Date: Sat, 9 Dec 2000 16:06:19 +0000 Subject: [PATCH] Makefile.in: handle DOS-style absolute paths. * Makefile.in: handle DOS-style absolute paths. * config-ml.in: likewise. * symlink-tree: likewise. From-SVN: r38154 --- ChangeLog | 6 ++++++ Makefile.in | 2 +- config-ml.in | 4 ++-- symlink-tree | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index f215ee43e217..c0b0555b77d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-12-09 Laurynas Biveinis + + * Makefile.in: handle DOS-style absolute paths. + * config-ml.in: likewise. + * symlink-tree: likewise. + 2000-12-08 Alexandre Petit-Bianco * fastjar: Imported. diff --git a/Makefile.in b/Makefile.in index 9456df8f0e79..195a219b135c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 \ diff --git a/config-ml.in b/config-ml.in index c968bf0d7191..42a2dd31c9d9 100644 --- a/config-ml.in +++ b/config-ml.in @@ -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 @@ -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 diff --git a/symlink-tree b/symlink-tree index 8f11c0879325..5b18cab92388 100755 --- a/symlink-tree +++ b/symlink-tree @@ -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 -- 2.43.5