]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in: handle DOS-style absolute paths.
authorLaurynas Biveinis <lauras@softhome.net>
Sat, 9 Dec 2000 16:06:19 +0000 (16:06 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Sat, 9 Dec 2000 16:06:19 +0000 (11:06 -0500)
* Makefile.in: handle DOS-style absolute paths.
* config-ml.in: likewise.
* symlink-tree: likewise.

From-SVN: r38154

ChangeLog
Makefile.in
config-ml.in
symlink-tree

index f215ee43e2176a7ab5c0ff8481c11f0ef0dc07d6..c0b0555b77d30d5606d7569d8054667b7dfbf122 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 9456df8f0e791e1ab5fc595d73e7666c60640028..195a219b135cafd25f9d540e9cd3e7c43c161c51 100644 (file)
@@ -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 \
index c968bf0d71918eaaa41665555836e0aa030475f2..42a2dd31c9d9a3d799aeee38bfb706ed0167ab6f 100644 (file)
@@ -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
 
index 8f11c0879325bd306969c34cf8db541a0ea4fb0a..5b18cab92388f5d9bfde8e1f43f21a3cb21b74fd 100755 (executable)
@@ -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