/[m4]/m4/src/main.c
ViewVC logotype

Diff of /m4/src/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53 by gary, Fri Sep 12 15:17:49 2003 UTC revision 1.54 by gary, Tue Sep 16 15:53:12 2003 UTC
# Line 21  Line 21 
21    
22  #include "m4.h"  #include "m4.h"
23  #include "m4private.h"  #include "m4private.h"
 #include "m4/progname.h"  
24  #include "m4/getopt.h"  #include "m4/getopt.h"
25    #include "m4/progname.h"
26    #include "m4/version-etc.h"
27    
28  static void print_program_name_CB (void);  static void print_program_name_CB (void);
29    
# Line 217  main (int argc, char *const *argv, char Line 218  main (int argc, char *const *argv, char
218    
219    int exit_status;    int exit_status;
220    
221      /* Initialise gnulib error module.  */
222    set_program_name (argv[0]);    set_program_name (argv[0]);
223    error_print_progname = print_program_name_CB;    error_print_progname = print_program_name_CB;
224    
225      /* Initialise gnulib version-etc module.  
226         Do *not* mark this string for translation.  */
227      version_etc_copyright =
228        "Copyright (C) 1989-1994, 1999, 2000 Free Software Foundation, Inc.";
229    
230    setlocale (LC_ALL, "");    setlocale (LC_ALL, "");
231  #ifdef ENABLE_NLS  #ifdef ENABLE_NLS
232    textdomain(PACKAGE);    textdomain(PACKAGE);
# Line 367  main (int argc, char *const *argv, char Line 374  main (int argc, char *const *argv, char
374    
375    if (show_version)    if (show_version)
376      {      {
377        printf ("GNU %s %s%s\n", PACKAGE, VERSION, TIMESTAMP);        version_etc (stdout, NULL, "GNU " PACKAGE, VERSION TIMESTAMP,
378        fputs (_("Written by Rene' Seindal and Gary V. Vaughan.\n"), stdout);                     _("Written by Rene' Seindal and Gary V. Vaughan."));
       putc ('\n', stdout);  
   
       fputs (_("Copyright (C) 1989-1994, 1999, 2000 Free Software Foundation, Inc."), stdout);  
       putc ('\n', stdout);  
   
       fputs (_("\  
 This is free software; see the source for copying conditions.  There is NO\n\  
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"),  
          stdout);  
379        exit (EXIT_SUCCESS);        exit (EXIT_SUCCESS);
380      }      }
381    

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26