summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-04-22 23:05:00 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-10-21 21:25:00 +0200
commitaa6e58ae0e110eb92775aa1982f5f363057bcd43 (patch)
tree5065945de4356d161aaa42125e749a97c3471410 /options.c
parent3ee62caf112c1e8c9a79079b0cb0648446915caa (diff)
downloadopenvpn-aa6e58ae0e110eb92775aa1982f5f363057bcd43.tar.gz
openvpn-aa6e58ae0e110eb92775aa1982f5f363057bcd43.tar.xz
openvpn-aa6e58ae0e110eb92775aa1982f5f363057bcd43.zip
Don't add compile time information if --enable-small is used
This is to satisfy those wanting to build openvpn for embedded devices where every bytes matters. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> Acked-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.c b/options.c
index a11425c..8c5af91 100644
--- a/options.c
+++ b/options.c
@@ -2921,10 +2921,12 @@ usage_version (void)
msg (M_INFO|M_NOPREFIX, "%s", title_string);
msg (M_INFO|M_NOPREFIX, "Originally developed by James Yonan");
msg (M_INFO|M_NOPREFIX, "Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>");
+#ifndef ENABLE_SMALL
#ifdef CONFIGURE_CALL
msg (M_INFO|M_NOPREFIX, "\n%s\n", CONFIGURE_CALL);
#endif
msg (M_INFO|M_NOPREFIX, "Compile time defines: %s", CONFIGURE_DEFINES);
+#endif
openvpn_exit (OPENVPN_EXIT_STATUS_USAGE); /* exit point */
}