From: handa Date: Wed, 16 May 2007 05:33:19 +0000 (+0000) Subject: (PROGRAM_VERSION): Delete it. X-Git-Tag: FLT-base~56 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ce8429fc7c8e23ac27154dd5ed09c0e6a6edcc2;p=m17n%2Fm17n-lib.git (PROGRAM_VERSION): Delete it. (main): Use M17NLIB_VERSION_NAME to print the version number. --- diff --git a/example/mdump.c b/example/mdump.c index 639642d..f05075b 100644 --- a/example/mdump.c +++ b/example/mdump.c @@ -1,5 +1,5 @@ /* mdump.c -- Dump text image -*- coding: euc-jp; -*- - Copyright (C) 2003, 2004, 2005, 2006 + Copyright (C) 2003, 2004, 2005, 2006, 2007 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H15PRO112 @@ -255,8 +255,6 @@ #include #include -#define PROGRAM_VERSION "1.3.4" - /* Enumuration of the supported paper types. */ enum paper_type { @@ -500,8 +498,8 @@ main (int argc, char **argv) help_exit (argv[0], 0); else if (! strcmp (argv[i], "--version")) { - printf ("m17n-dump (m17n library) %s\n", PROGRAM_VERSION); - printf ("Copyright (C) 2003, 2004 AIST, JAPAN\n"); + printf ("m17n-dump (m17n library) %s\n", M17NLIB_VERSION_NAME); + printf ("Copyright (C) 2007 AIST, JAPAN\n"); exit (0); } else if (! strcmp (argv[i], "-s") && i + 1< argc)