From abafcf08ab3d85b6362c2ab70e82bff947c17a04 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Sun, 20 Sep 2009 12:40:52 +0530 Subject: 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. --- configure.ac | 4 ---- src/main.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index c886176..fe55977 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/src/main.c b/src/main.c index 0327714..a6dfb05 100644 --- a/src/main.c +++ b/src/main.c @@ -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); } /* -- cgit v1.2.3