From: handa Date: Wed, 16 May 2007 05:33:32 +0000 (+0000) Subject: (VERSION): Delete it. X-Git-Tag: FLT-base~55 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c49c79bde3752bf9acb9d09883ce126aa56afe50;p=m17n%2Fm17n-lib.git (VERSION): Delete it. (main): Use M17NLIB_VERSION_NAME to print the version number. --- diff --git a/example/mconv.c b/example/mconv.c index ba7ef9c..d49988d 100644 --- a/example/mconv.c +++ b/example/mconv.c @@ -1,5 +1,5 @@ /* mconv.c -- Code converter. -*- coding: euc-jp; -*- - Copyright (C) 2003, 2004 + Copyright (C) 2003, 2004, 2005, 2006, 2007 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 @@ -134,8 +134,6 @@ #include #include -#define VERSION "1.3.4" - /* Print all coding system names. */ int @@ -314,8 +312,8 @@ main (int argc, char **argv) help_exit (argv[0], 0); else if (! strcmp (argv[i], "--version")) { - printf ("m17n-conv (m17n library) %s\n", VERSION); - printf ("Copyright (C) 2003 AIST, JAPAN\n"); + printf ("m17n-conv (m17n library) %s\n", M17NLIB_VERSION_NAME); + printf ("Copyright (C) 2003, 2004, 2005, 2006, 2007 AIST, JAPAN\n"); exit (0); } else if (! strcmp (argv[i], "-l")) diff --git a/example/mdate.c b/example/mdate.c index a48464c..4cae383 100644 --- a/example/mdate.c +++ b/example/mdate.c @@ -1,5 +1,5 @@ /* mdate.c -- Show system date/time in all locales. -*- coding: euc-jp; -*- - Copyright (C) 2003, 2004 + Copyright (C) 2003, 2004, 2005, 2006, 2007 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 @@ -82,8 +82,6 @@ #include #include -#define VERSION "1.3.4" - /* Return a plist of all locales currently avairable on the system. The keys and values of the plist are locale name symbols and pointers to MLocale respectively. */ @@ -174,8 +172,8 @@ main (int argc, char **argv) help_exit (argv[0], 0); else if (! strcmp (argv[i], "--version")) { - printf ("m17n-date (m17n library) %s\n", VERSION); - printf ("Copyright (C) 2003 AIST, JAPAN\n"); + printf ("m17n-date (m17n library) %s\n", M17NLIB_VERSION_NAME); + printf ("Copyright (C) 2003, 2004, 2005, 2006, 2007 AIST, JAPAN\n"); exit (0); } else diff --git a/example/medit.c b/example/medit.c index 3819c38..9b321df 100644 --- a/example/medit.c +++ b/example/medit.c @@ -1,5 +1,5 @@ /* medit.c -- simple multilingual editor. -*- coding: euc-jp; -*- - Copyright (C) 2003, 2004, 2005 + Copyright (C) 2003, 2004, 2005, 2006, 2007 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 @@ -120,8 +120,6 @@ #include #include -#define VERSION "1.3.4" - /* Global variables. */ char *filename; @@ -2651,8 +2649,8 @@ main (int argc, char **argv) help_exit (argv[0], 0); else if (! strcmp (argv[i], "--version")) { - printf ("m17n-edit (m17n library) %s\n", VERSION); - printf ("Copyright (C) 2003 AIST, JAPAN\n"); + printf ("m17n-edit (m17n library) %s\n", M17NLIB_VERSION_NAME); + printf ("Copyright (C) 2003, 2004, 2005, 2006, 2007 AIST, JAPAN\n"); exit (0); } else if (! strcmp (argv[i], "--geometry")) diff --git a/example/mview.c b/example/mview.c index a15859b..ad5cd42 100644 --- a/example/mview.c +++ b/example/mview.c @@ -1,5 +1,5 @@ /* mview.c -- File viewer -*- coding: euc-jp; -*- - Copyright (C) 2003, 2004 + Copyright (C) 2003, 2004, 2005, 2006, 2007 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 @@ -115,8 +115,6 @@ #include #include -#define VERSION "1.3.4" - /* Global m17n variables. */ MFrame *frame; MText *mt; @@ -290,8 +288,8 @@ main (int argc, char **argv) help_exit (argv[0], 0); else if (! strcmp (argv[i], "--version")) { - printf ("m17n-view (m17n library) %s\n", VERSION); - printf ("Copyright (C) 2003 AIST, JAPAN\n"); + printf ("m17n-view (m17n library) %s\n", M17NLIB_VERSION_NAME); + printf ("Copyright (C) 2003, 2004, 2005, 2006, 2007 AIST, JAPAN\n"); exit (0); } else if (! strcmp (argv[i], "-e"))