aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-12-31 22:12:33 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-12-31 22:12:33 +0000
commitf71b3054cd0111625ef8bf933517a08f07833e06 (patch)
tree46e71dcebc6f9fc8de494966acf87ad2020b2f37 /tmux.c
parent60dd44008229506043ae61d602e89b90306ccfe5 (diff)
downloadrtmux-f71b3054cd0111625ef8bf933517a08f07833e06.tar.gz
rtmux-f71b3054cd0111625ef8bf933517a08f07833e06.tar.bz2
rtmux-f71b3054cd0111625ef8bf933517a08f07833e06.zip
Switch tmux to use autoconf and automake.
Although they suck, they suck less than the alternatives.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux.c b/tmux.c
index 9a9d45e3..5f0bbdaf 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.230 2010-12-30 22:39:49 tcunha Exp $ */
+/* $Id: tmux.c,v 1.231 2010-12-31 22:12:33 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -54,7 +54,7 @@ __dead void usage(void);
void parseenvironment(void);
char *makesocketpath(const char *);
-#ifndef HAVE_PROGNAME
+#ifndef HAVE___PROGNAME
char *__progname = (char *) "tmux";
#endif
@@ -259,7 +259,7 @@ main(int argc, char **argv)
shell_cmd = xstrdup(optarg);
break;
case 'V':
- printf("%s %s\n", __progname, BUILD);
+ printf("%s %s\n", __progname, VERSION);
exit(0);
case 'f':
if (cfg_file != NULL)