summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-09-01 08:04:30 +0000
committerPaul Smith <psmith@gnu.org>1999-09-01 08:04:30 +0000
commit473f18f70e0e85052be11ce13dd630eb1cfa3fff (patch)
tree073feec66d6452570d4e4802b194ad803a5b1976 /version.c
parent1ef244932308f5f0089f6cca06e5f375aacd1bb4 (diff)
downloadmake-473f18f70e0e85052be11ce13dd630eb1cfa3fff.tar.gz
* A bugfix on MAKEFLAGS options creation that broke jobserver.
* Put the host info in the --version output. * Don't croak if the user forces -jN on submakes.
Diffstat (limited to 'version.c')
-rw-r--r--version.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/version.c b/version.c
index a2e35fc2..1918b6f7 100644
--- a/version.c
+++ b/version.c
@@ -3,7 +3,12 @@
(which it would do because make.h was found in $srcdir). */
#include <config.h>
+#ifndef MAKE_HOST
+# define MAKE_HOST "unknown"
+#endif
+
char *version_string = VERSION;
+char *make_host = MAKE_HOST;
/*
Local variables: