mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 21:51:05 +08:00
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>
This commit is contained in:
parent
3ee62caf11
commit
aa6e58ae0e
@ -2921,10 +2921,12 @@ usage_version (void)
|
|||||||
msg (M_INFO|M_NOPREFIX, "%s", title_string);
|
msg (M_INFO|M_NOPREFIX, "%s", title_string);
|
||||||
msg (M_INFO|M_NOPREFIX, "Originally developed by James Yonan");
|
msg (M_INFO|M_NOPREFIX, "Originally developed by James Yonan");
|
||||||
msg (M_INFO|M_NOPREFIX, "Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>");
|
msg (M_INFO|M_NOPREFIX, "Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>");
|
||||||
|
#ifndef ENABLE_SMALL
|
||||||
#ifdef CONFIGURE_CALL
|
#ifdef CONFIGURE_CALL
|
||||||
msg (M_INFO|M_NOPREFIX, "\n%s\n", CONFIGURE_CALL);
|
msg (M_INFO|M_NOPREFIX, "\n%s\n", CONFIGURE_CALL);
|
||||||
#endif
|
#endif
|
||||||
msg (M_INFO|M_NOPREFIX, "Compile time defines: %s", CONFIGURE_DEFINES);
|
msg (M_INFO|M_NOPREFIX, "Compile time defines: %s", CONFIGURE_DEFINES);
|
||||||
|
#endif
|
||||||
openvpn_exit (OPENVPN_EXIT_STATUS_USAGE); /* exit point */
|
openvpn_exit (OPENVPN_EXIT_STATUS_USAGE); /* exit point */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user