summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-21 15:35:55 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-21 15:35:55 +1000
commit612a34ad69c043e42970e01f2f026dff7dc07728 (patch)
tree9e7c7bf24030f021ab6eab200e99f484b6726983 /source4
parent667f672c94eb3e935ae3463a203dfa85b900726a (diff)
downloadsamba-612a34ad69c043e42970e01f2f026dff7dc07728.tar.gz
samba-612a34ad69c043e42970e01f2f026dff7dc07728.tar.bz2
samba-612a34ad69c043e42970e01f2f026dff7dc07728.zip
s4-server: show build host in samba -b output
Diffstat (limited to 'source4')
-rw-r--r--source4/smbd/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 13b56086f4..149421532f 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -263,6 +263,11 @@ static void show_build(void)
};
int i;
+ printf("Build environment:\n");
+#ifdef BUILD_SYSTEM
+ printf(" Build host: %s\n", BUILD_SYSTEM);
+#endif
+
printf("Paths:\n");
for (i=0; config_options[i].name; i++) {
printf(" %s: %s\n", config_options[i].name, config_options[i].value);