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-beta1~6^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8dd2672d72508e9edec3d24b75e698b2669d7623;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 294ba58b7..86279e437 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. "); +#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 */ }