diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-09-20 12:40:52 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-09-20 12:40:52 +0530 |
commit | abafcf08ab3d85b6362c2ab70e82bff947c17a04 (patch) | |
tree | 854d86349fd2b4161307b682332eebb5a90d9d1e | |
parent | 90e7d07f447f3abeb60720529d2b12ee91c4926e (diff) | |
download | tinyproxy-abafcf08ab3d85b6362c2ab70e82bff947c17a04.tar.gz tinyproxy-abafcf08ab3d85b6362c2ab70e82bff947c17a04.zip |
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.
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 1 insertions, 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 @@ -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); } /* |