From: David Sommerseth Date: Thu, 22 Apr 2010 21:05:00 +0000 (+0200) Subject: Don't add compile time information if --enable-small is used X-Git-Tag: v2.2-beta4~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa6e58ae0e110eb92775aa1982f5f363057bcd43;p=thirdparty%2Fopenvpn.git 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 Acked-by: Gert Doering --- diff --git a/options.c b/options.c index a11425cf0..8c5af91e2 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. "); +#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 */ }