Use PACKAGE_VERSION from Autoconf instead of hardcoded VERSION define.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1621 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2011-04-18 07:28:31 +00:00
parent c7c0be0b98
commit e0ca09a189
2 changed files with 1 additions and 3 deletions

View File

@ -135,7 +135,7 @@ static void
usage(char *program)
{
fprintf(stderr, "rdesktop: A Remote Desktop Protocol client.\n");
fprintf(stderr, "Version " VERSION ". Copyright (C) 1999-2008 Matthew Chapman.\n");
fprintf(stderr, "Version " PACKAGE_VERSION ". Copyright (C) 1999-2008 Matthew Chapman.\n");
fprintf(stderr, "See http://www.rdesktop.org/ for more information.\n\n");
fprintf(stderr, "Usage: %s [options] server[:port]\n", program);

View File

@ -41,8 +41,6 @@
#include <sysexits.h>
#endif
#define VERSION "1.6.0"
/* standard exit codes */
#ifndef EX_OK
#define EX_OK 0