Browse code

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>

David Sommerseth authored on 2010/04/23 06:05:00
Showing 1 changed files
... ...
@@ -2752,10 +2752,12 @@ usage_version (void)
2752 2752
   msg (M_INFO|M_NOPREFIX, "%s", title_string);
2753 2753
   msg (M_INFO|M_NOPREFIX, "Originally developed by James Yonan");
2754 2754
   msg (M_INFO|M_NOPREFIX, "Copyright (C) 2002-2009 OpenVPN Technologies, Inc. <sales@openvpn.net>");
2755
+#ifndef ENABLE_SMALL
2755 2756
 #ifdef CONFIGURE_CALL
2756 2757
   msg (M_INFO|M_NOPREFIX, "\n%s\n", CONFIGURE_CALL);
2757 2758
 #endif
2758 2759
   msg (M_INFO|M_NOPREFIX, "Compile time defines: %s", CONFIGURE_DEFINES);
2760
+#endif
2759 2761
   openvpn_exit (OPENVPN_EXIT_STATUS_USAGE); /* exit point */
2760 2762
 }
2761 2763