summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unix/vncviewer/vncviewer.cxx8
-rw-r--r--unix/x0vncserver/x0vncserver.cxx2
2 files changed, 5 insertions, 5 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");
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx
index 4eb6b226..45d662e1 100644
--- a/unix/x0vncserver/x0vncserver.cxx
+++ b/unix/x0vncserver/x0vncserver.cxx
@@ -401,7 +401,7 @@ char* programName;
static void usage()
{
fprintf(stderr, "TightVNC Server version %s, built %s\n\n",
- VERSION, buildtime);
+ PACKAGE_VERSION, buildtime);
fprintf(stderr, "Usage: %s [<parameters>]\n", programName);
fprintf(stderr,"\n"
"Parameters can be turned on with -<param> or off with -<param>=0\n"