home *** CD-ROM | disk | FTP | other *** search
- /* Permuted index, with keywords in their context.
- Copyright (C) 1990 Free Software Foundation, Inc.
- Francois Pinard <pinard@iro.umontreal.ca>, 1990.
-
- $Id$
- */
-
- #include <stdio.h>
-
-
- /* Package name. */
-
- #define PACKAGE "gptx"
-
-
- /* Version numbers. These three numbers are separated by two periods: the
- major revision number, the minor revision number and installation number.
- This last number is modified in the following #define, right in this
- file, from the Makefile and version.awk. See this script for further
- details. */
-
- #define VERSION "0.1"
-
-
- /* Short Copyright. */
-
- #define COPYRIGHT "Copyright (C) 1990 Free Software Foundation, Inc."
-
-
- /* Global variables. */
-
- extern char *program_name;
-
-
- /* Prints package name and version, and the short Copyright. */
-
- #ifdef __STDC__
- void print_version (void)
- #else
- void
- print_version ()
- #endif
- {
- fprintf (stderr, "%s (%s %s)\n", program_name, PACKAGE, VERSION);
- fprintf (stderr, "%s\n", COPYRIGHT);
- fprintf (stderr, "\n");
- }
-
-
- /* Prints a more detailed Copyright. */
-
- #ifdef __STDC__
- void print_copyright ()
- #else
- void
- print_copyright ()
- #endif
- {
- fprintf (stderr, "\
- This program is free software; you can redistribute it and/or modify\n\
- it under the terms of the GNU General Public License as published by\n\
- the Free Software Foundation; either version 1, or (at your option)\n\
- any later version.\n\
- \n\
- This program is distributed in the hope that it will be useful,\n\
- but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
- GNU General Public License for more details.\n\
- \n\
- You should have received a copy of the GNU General Public License\n\
- along with this program; if not, write to the Free Software\n\
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\
- \n");
- }
-