aboutsummaryrefslogtreecommitdiff
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-04-22 23:05:00 +0200
commit8dd2672d72508e9edec3d24b75e698b2669d7623 (patch)
treeb2a55afe64f8d8f30f0019f6b4a534f9dc4d3bac
parentMake use of automake CLEANFILES variable instead of clean-local rule (diff)
downloadopenvpn-8dd2672d72508e9edec3d24b75e698b2669d7623.tar.xz
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 '')
-rw-r--r--options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.c b/options.c
index 294ba58..86279e4 100644
--- a/options.c
+++ b/options.c
@@ -2752,10 +2752,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-2009 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 */
}