]> 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, 22 Apr 2010 21:05:00 +0000 (23:05 +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 294ba58b7c8efa4d99cf31b0cd060684fd9ff768..86279e437739f22c2001ba471f7fff4a83053416 100644 (file)
--- 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 */
 }