diff options
author | Paul Smith <psmith@gnu.org> | 2002-08-10 01:27:16 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-08-10 01:27:16 +0000 |
commit | 5a9f2de69c2c0d932465019b181ee966aaa72a5a (patch) | |
tree | d155f782aee6b11704d59a8dd958bc09d5b2c9d5 /vpath.c | |
parent | 2ba6d81ee9691413013b269e8c589ccb83cd6405 (diff) | |
download | make-5a9f2de69c2c0d932465019b181ee966aaa72a5a.tar.gz |
Update to a new version of automake and gettext.
Invent a new macro HAVE_DOS_PATHS and change various instances of:
#if defined(WINDOWS) || defined(__MSDOS__)
to use the new macro instead. This should help make the OS/2 port
cleaner, as well.
Invent a cvs-clean maintainer target that tries to get the workspace
back to the state it was in after a CVS checkout.
New language.
Diffstat (limited to 'vpath.c')
-rw-r--r-- | vpath.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -348,7 +348,7 @@ vpath_search (file, mtime_ptr) there is nothing we can do. */ if (**file == '/' -#if defined (WINDOWS32) || defined (__MSDOS__) +#ifdef HAVE_DOS_PATHS || **file == '\\' || (*file)[1] == ':' #endif @@ -404,7 +404,7 @@ selective_vpath_search (path, file, mtime_ptr) pointer to the name-within-directory and FLEN is its length. */ n = strrchr (*file, '/'); -#if defined (WINDOWS32) || defined (__MSDOS__) +#ifdef HAVE_DOS_PATHS /* We need the rightmost slash or backslash. */ { char *bslash = strrchr(*file, '\\'); @@ -445,7 +445,7 @@ selective_vpath_search (path, file, mtime_ptr) n += name_dplen; } -#if defined (WINDOWS32) || defined (__MSDOS__) +#ifdef HAVE_DOS_PATHS /* Cause the next if to treat backslash and slash alike. */ if (n != name && n[-1] == '\\' ) n[-1] = '/'; |