]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Don't add compile time information if --enable-small is used
authorDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 22 Apr 2010 21:05:00 +0000 (23:05 +0200)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 21 Oct 2010 19:25:00 +0000 (21:25 +0200)
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>
options.c

index a11425cf01d6f0288e5c1edbaa9b2f3cd6c9087b..8c5af91e22a5ca84b82833940feee642989b07a6 100644 (file)
--- 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 */
 }