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 | 299c72e6ed86a1e7a50ec1f5d1a813c383ed0345 (patch) | |
tree | d155f782aee6b11704d59a8dd958bc09d5b2c9d5 /main.c | |
parent | ee3a4f9dd600b4a80a9957e2c3dd90c99d73cf0e (diff) | |
download | gunmake-299c72e6ed86a1e7a50ec1f5d1a813c383ed0345.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 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1345,15 +1345,15 @@ int main (int argc, char ** argv) + sizeof (DEFAULT_TMPFILE) + 1); strcpy (template, tmpdir); -#if defined __MSDOS__ || defined(WINDOWS32) +#ifdef HAVE_DOS_PATHS if (strchr ("/\\", template[strlen (template) - 1]) == NULL) strcat (template, "/"); #else -#ifndef VMS +# ifndef VMS if (template[strlen (template) - 1] != '/') strcat (template, "/"); -#endif /* !VMS */ -#endif /* __MSDOS__ || WINDOWS32 */ +# endif /* !VMS */ +#endif /* !HAVE_DOS_PATHS */ strcat (template, DEFAULT_TMPFILE); outfile = open_tmpfile (&stdin_nm, template); |