Remove the target system information when the version is displayed
If we require information about the runtime environment, it can be found using the uname program. And binutils can tell about what the tinyproxy binary contains. Tinyproxy doesn't have to report this information.
This commit is contained in:
parent
90e7d07f44
commit
abafcf08ab
@ -54,10 +54,6 @@ fi
|
||||
AM_CONDITIONAL(TINYPROXY_UNSTABLE, test "x$TINYPROXY_UNSTABLE" = "xyes")
|
||||
|
||||
|
||||
AH_TEMPLATE([TARGET_SYSTEM],
|
||||
[A string containing the target system for which tinyproxy was built.])
|
||||
AC_DEFINE_UNQUOTED(TARGET_SYSTEM, ["$target"])
|
||||
|
||||
dnl Check if we're compiling on a weird platform :)
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
|
@ -80,7 +80,7 @@ takesig (int sig)
|
||||
static void
|
||||
display_version (void)
|
||||
{
|
||||
printf ("%s %s (%s)\n", PACKAGE, VERSION, TARGET_SYSTEM);
|
||||
printf ("%s %s\n", PACKAGE, VERSION);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user