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 /configure.ac | |
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 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a9ccb98..9511317 100644 --- a/configure.ac +++ b/configure.ac @@ -229,6 +229,12 @@ AC_ARG_ENABLE( ) AC_ARG_WITH( + [special-build], + [AS_HELP_STRING([--with-special-build=STRING], [specify special build string])], + [test -n "${withval}" && AC_DEFINE_UNQUOTED([CONFIGURE_SPECIAL_BUILD], ["${withval}"], [special build string])] +) + +AC_ARG_WITH( [mem-check], [AS_HELP_STRING([--with-mem-check=TYPE], [build with debug memory checking, TYPE=no|dmalloc|valgrind|ssl @<:@default=no@:>@])], [ |