From 76f034acaadf081fd589cc5409bb4c2c138570e0 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 3 Nov 2003 22:04:09 +0000 Subject: 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. --- main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'main.c') 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 -- cgit v1.2.3