1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Aladdin Enterprises. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution.
For more information about licensing, please refer to
http://www.ghostscript.com/licensing/. For information on
commercial licensing, go to http://www.artifex.com/licensing/ or
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
*/
/*$RCSfile$ $Revision$ */
/* Configuration scalars */
#include "std.h"
#include "gscdefs.h" /* interface */
#include "gconf.h" /* for #defines */
/* ---------------- Miscellaneous system parameters ---------------- */
/* All of these can be set in the makefile. */
/* Normally they are all const; see gscdefs.h for more information. */
#ifndef GS_BUILDTIME
# define GS_BUILDTIME\
0 /* should be set in the makefile */
#endif
CONFIG_CONST long gs_buildtime = GS_BUILDTIME;
#ifndef GS_COPYRIGHT
# define GS_COPYRIGHT\
"Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved."
#endif
const char *CONFIG_CONST gs_copyright = GS_COPYRIGHT;
#ifndef GS_PRODUCTFAMILY
# define GS_PRODUCTFAMILY\
"AFPL Ghostscript"
#endif
const char *CONFIG_CONST gs_productfamily = GS_PRODUCTFAMILY;
#ifndef GS_PRODUCT
# define GS_PRODUCT\
"AFPL Ghostscript CVS PRE-RELEASE"
#endif
const char *CONFIG_CONST gs_product = GS_PRODUCT;
const char *
gs_program_name(void)
{
return gs_product;
}
/* GS_REVISION must be defined in the makefile. */
CONFIG_CONST long gs_revision = GS_REVISION;
long
gs_revision_number(void)
{
return gs_revision;
}
/* GS_REVISIONDATE must be defined in the makefile. */
CONFIG_CONST long gs_revisiondate = GS_REVISIONDATE;
#ifndef GS_SERIALNUMBER
# define GS_SERIALNUMBER\
42 /* a famous number */
#endif
CONFIG_CONST long gs_serialnumber = GS_SERIALNUMBER;
/* ---------------- Installation directories and files ---------------- */
/* Here is where the library search path, the name of the */
/* initialization file, and the doc directory are defined. */
/* Define the documentation directory (only used in help messages). */
const char *const gs_doc_directory = GS_DOCDIR;
/* Define the default library search path. */
const char *const gs_lib_default_path = GS_LIB_DEFAULT;
/* Define the interpreter initialization file. */
const char *const gs_init_file = GS_INIT;
|