From 8dd2672d72508e9edec3d24b75e698b2669d7623 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 22 Apr 2010 23:05:00 +0200 Subject: [PATCH] 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 --- options.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ } -- 2.47.2