diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2012-05-05 11:01:17 +0300 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-06-13 12:20:01 +0200 |
commit | 10b4b65e0318ce305e05cdec4b44b8f6bcd3915f (patch) | |
tree | a0493a91c71ee61de4fe126f0ea93d63fcd18a0e /src | |
parent | fc0c29b31c6f3804a074d8436ee738b0cee8f800 (diff) | |
download | openvpn-10b4b65e0318ce305e05cdec4b44b8f6bcd3915f.tar.gz openvpn-10b4b65e0318ce305e05cdec4b44b8f6bcd3915f.tar.xz openvpn-10b4b65e0318ce305e05cdec4b44b8f6bcd3915f.zip |
build: add --with-special-build to provide special build string
Special build string is printed when --version is specified.
Empty = no special build.
This is handy when building a snapshot or if not git repository.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1336204877-3564-1-git-send-email-alon.barlev@gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6435
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/openvpn/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 2b96957..1cb6068 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -3464,6 +3464,9 @@ usage_version (void) #ifdef CONFIGURE_DEFINES msg (M_INFO|M_NOPREFIX, "Compile time defines: %s", CONFIGURE_DEFINES); #endif +#ifdef CONFIGURE_SPECIAL_BUILD + msg (M_INFO|M_NOPREFIX, "special build: %s", CONFIGURE_SPECIAL_BUILD); +#endif #ifdef CONFIGURE_GIT_REVISION msg (M_INFO|M_NOPREFIX, "git revision: %s", CONFIGURE_GIT_REVISION); #endif |