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 |
|
|
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); |
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 |
|
|