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:
Mukund Sivaraman 2009-09-20 12:40:52 +05:30
parent 90e7d07f44
commit abafcf08ab
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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);
}
/*