summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2003-11-03 22:04:09 +0000
committerPaul Smith <psmith@gnu.org>2003-11-03 22:04:09 +0000
commit76f034acaadf081fd589cc5409bb4c2c138570e0 (patch)
treeca44bfcb6c1353fbc2982adb82b46bfdda8fe5bd /main.c
parent74216b00a461e6002640cf98c66f5c137e84470b (diff)
downloadgunmake-76f034acaadf081fd589cc5409bb4c2c138570e0.tar.gz
Added MINGW32 changes.
This commits a number of changes from Earnie Boyd that allows GNU make to build for MINGW32 systems. Only missing from this commit are the changes to configure.in etc.; I'm waiting for Earnie to sign papers for those new files. Also not here is any README.mingw32 etc. which would explain how to use this port.
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/main.c b/main.c
index 5a6e924..7af539d 100644
--- a/main.c
+++ b/main.c
@@ -2141,7 +2141,6 @@ handle_non_switch_argument (char *arg, int env)
static void
print_usage (int bad)
{
- extern char *make_host;
const char *const *cpp;
FILE *usageto;
@@ -2700,7 +2699,7 @@ print_version (void)
word "Copyright", so it hardly seems worth it. */
printf ("%sGNU Make %s\n\
-%sCopyright (C) 2002 Free Software Foundation, Inc.\n",
+%sCopyright (C) 2003 Free Software Foundation, Inc.\n",
precede, version_string, precede);
printf (_("%sThis is free software; see the source for copying conditions.\n\
@@ -2708,6 +2707,12 @@ print_version (void)
%sPARTICULAR PURPOSE.\n"),
precede, precede, precede);
+ if (!remote_description || *remote_description == '\0')
+ printf (_("\n%sThis program built for %s\n"), precede, make_host);
+ else
+ printf (_("\n%sThis program built for %s (%s)\n"),
+ precede, make_host, remote_description);
+
printed_version = 1;
/* Flush stdout so the user doesn't have to wait to see the