summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2021-12-03 03:11:06 +0300
committerValentin Bartenev <vbart@nginx.com>2021-12-03 03:11:06 +0300
commit2a087fa5654954878c00edef6b07a9fe4090475f (patch)
tree63eed0fe98ea752d6916c63b8b5f62746b807b02
parent9bc314df48b8def52fa4f0500a92b556c8cb7ac5 (diff)
downloadunit-2a087fa5654954878c00edef6b07a9fe4090475f.tar.gz
unit-2a087fa5654954878c00edef6b07a9fe4090475f.tar.bz2
Printing version in "./configure" output.
-rw-r--r--auto/os/test3
-rwxr-xr-xconfigure1
2 files changed, 3 insertions, 1 deletions
diff --git a/auto/os/test b/auto/os/test
index c37700a6..b7e73299 100644
--- a/auto/os/test
+++ b/auto/os/test
@@ -97,4 +97,5 @@ case "$NXT_SYSTEM" in
esac
-$echo configuring for $NXT_SYSTEM $NXT_SYSTEM_VERSION $NXT_SYSTEM_PLATFORM
+$echo "configuring Unit $NXT_VERSION" \
+ "for $NXT_SYSTEM $NXT_SYSTEM_VERSION $NXT_SYSTEM_PLATFORM"
diff --git a/configure b/configure
index c9264d59..bc21e579 100755
--- a/configure
+++ b/configure
@@ -67,6 +67,7 @@ case $nxt_module in
esac
+. ./version
. auto/os/test
. auto/options