summaryrefslogtreecommitdiffstats
path: root/unix/vncviewer
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2008-04-17 15:45:58 +0000
committerAdam Tkac <atkac@redhat.com>2008-04-17 15:45:58 +0000
commit932e09b4b9e452cd230fa91f2200d5cb0785e34f (patch)
treebbed65e2adbe181b2c20daa058947448eaa151ee /unix/vncviewer
parent20710e31154f9d22bece726e4f0a5237fd4aa032 (diff)
downloadtigervnc-932e09b4b9e452cd230fa91f2200d5cb0785e34f.tar.gz
tigervnc-932e09b4b9e452cd230fa91f2200d5cb0785e34f.zip
- use PACKAGE_NAME/PACKAGE_VERSION macros instead PACKAGE/VERSION (AC_INIT() compatibility)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2489 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/vncviewer')
-rw-r--r--unix/vncviewer/vncviewer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/vncviewer/vncviewer.cxx b/unix/vncviewer/vncviewer.cxx
index e419c78b..1b7b8734 100644
--- a/unix/vncviewer/vncviewer.cxx
+++ b/unix/vncviewer/vncviewer.cxx
@@ -264,8 +264,8 @@ createTunnel (const char *gatewayHost, const char *remoteHost,
int main(int argc, char** argv)
{
setlocale(LC_ALL, "");
- bindtextdomain(PACKAGE, LOCALEDIR);
- textdomain(PACKAGE);
+ bindtextdomain(PACKAGE_NAME, LOCALEDIR);
+ textdomain(PACKAGE_NAME);
snprintf(aboutText, sizeof(aboutText),
_("TightVNC Viewer for X version %s - built %s\n"
@@ -273,10 +273,10 @@ int main(int argc, char** argv)
"Copyright (C) 2000-2006 TightVNC Group\n"
"Copyright (C) 2004-2005 Peter Astrand, Cendio AB\n"
"See http://www.tightvnc.com for information on TightVNC."),
- VERSION, buildtime);
+ PACKAGE_VERSION, buildtime);
fprintf(stderr,"\n%s\n", aboutText);
- bind_textdomain_codeset(PACKAGE, "iso-8859-1");
+ bind_textdomain_codeset(PACKAGE_NAME, "iso-8859-1");
rfb::initStdIOLoggers();
rfb::LogWriter::setLogParams("*:stderr:30");