From e0ca09a1890a599642c25fdc65cb107bbabc7d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Mon, 18 Apr 2011 07:28:31 +0000 Subject: [PATCH] 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 --- rdesktop.c | 2 +- rdesktop.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rdesktop.c b/rdesktop.c index fc228b9..1aa7d15 100644 --- a/rdesktop.c +++ b/rdesktop.c @@ -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); diff --git a/rdesktop.h b/rdesktop.h index 6cbad5d..b02b76b 100644 --- a/rdesktop.h +++ b/rdesktop.h @@ -41,8 +41,6 @@ #include #endif -#define VERSION "1.6.0" - /* standard exit codes */ #ifndef EX_OK #define EX_OK 0