summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-20 12:40:52 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-20 12:40:52 +0530
commitabafcf08ab3d85b6362c2ab70e82bff947c17a04 (patch)
tree854d86349fd2b4161307b682332eebb5a90d9d1e
parent90e7d07f447f3abeb60720529d2b12ee91c4926e (diff)
downloadtinyproxy-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.
Diffstat (limited to '')
-rw-r--r--configure.ac4
-rw-r--r--src/main.c2
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
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);
}
/*