0
|
1 /* Definition of PURESIZE.
|
|
2 Copyright (C) 1986, 1988, 1992, 1993, 1994 Free Software Foundation, Inc.
|
|
3 Copyright (C) 1995, 1996 Ben Wing.
|
|
4
|
|
5 This file is part of XEmacs.
|
|
6
|
|
7 XEmacs is free software; you can redistribute it and/or modify it
|
|
8 under the terms of the GNU General Public License as published by the
|
|
9 Free Software Foundation; either version 2, or (at your option) any
|
|
10 later version.
|
|
11
|
|
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
15 for more details.
|
|
16
|
|
17 You should have received a copy of the GNU General Public License
|
|
18 along with XEmacs; see the file COPYING. If not, write to
|
|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
20 Boston, MA 02111-1307, USA. */
|
|
21
|
|
22 /* Synched up with: Not in FSF. */
|
|
23
|
|
24 #ifndef PURESIZE_H
|
|
25 #define PURESIZE_H
|
|
26
|
70
|
27 /* If PURESIZE is already defined then the user overrode it at
|
0
|
28 configure time. */
|
70
|
29 #ifndef PURESIZE
|
28
|
30
|
0
|
31 /* Basic amount of purespace to use, in the absence of extra
|
|
32 things configured in. */
|
|
33
|
|
34 #if (LONGBITS == 64)
|
72
|
35 # define BASE_PURESIZE 922000
|
0
|
36 #else
|
72
|
37 # define BASE_PURESIZE 562000
|
0
|
38 #endif
|
|
39
|
|
40 /* If any particular systems need to change the base puresize, they
|
|
41 should define SYSTEM_PURESIZE_EXTRA. Note that this can be
|
|
42 negative as well as positive.
|
|
43
|
|
44 Do NOT define PURESIZE or any other values. This allows the
|
|
45 other values to shift while still keeping things in sync. */
|
|
46
|
|
47 #ifndef SYSTEM_PURESIZE_EXTRA
|
|
48 # define SYSTEM_PURESIZE_EXTRA 0
|
|
49 #endif
|
|
50
|
|
51 /* Extra amount of purespace needed for menubars. */
|
|
52
|
|
53 #ifdef HAVE_MENUBARS
|
|
54 # if (LONGBITS == 64)
|
|
55 # define MENUBAR_PURESIZE_EXTRA 43000
|
|
56 # else
|
70
|
57 # define MENUBAR_PURESIZE_EXTRA 35000
|
0
|
58 # endif
|
|
59 #else
|
|
60 # define MENUBAR_PURESIZE_EXTRA 0
|
|
61 #endif
|
|
62
|
70
|
63 /* Scrollbar purespace needed is only about 2K so there's no sense
|
|
64 worrying about it separately. */
|
0
|
65
|
70
|
66 /* Extra amount of purespace needed for X11, separate from menubars. */
|
0
|
67
|
|
68 #ifdef HAVE_X_WINDOWS
|
|
69 # if (LONGBITS == 64)
|
|
70 # define X11_PURESIZE_EXTRA 95000
|
|
71 # else
|
70
|
72 # define X11_PURESIZE_EXTRA 63000
|
0
|
73 # endif
|
|
74 #else
|
28
|
75 # define X11_PURESIZE_EXTRA 0
|
0
|
76 #endif
|
|
77
|
16
|
78 /* Extra amount of purespace needed for Mule. */
|
|
79
|
|
80 #ifdef MULE
|
|
81 # if (LONGBITS == 64)
|
|
82 # define MULE_PURESIZE_EXTRA 144000
|
|
83 # else
|
|
84 # define MULE_PURESIZE_EXTRA 123000
|
|
85 # endif
|
|
86 #else
|
|
87 # define MULE_PURESIZE_EXTRA 0
|
|
88 #endif
|
|
89
|
0
|
90 /* Extra amount of purespace needed for Tooltalk. */
|
|
91
|
|
92 #ifdef TOOLTALK
|
|
93 # if (LONGBITS == 64)
|
|
94 # define TOOLTALK_PURESIZE_EXTRA 100000
|
|
95 # else
|
70
|
96 # define TOOLTALK_PURESIZE_EXTRA 69000
|
0
|
97 # endif
|
|
98 #else
|
|
99 # define TOOLTALK_PURESIZE_EXTRA 0
|
|
100 #endif
|
|
101
|
|
102 /* Extra amount of purespace needed for Energize builds. */
|
|
103
|
|
104 #ifdef ENERGIZE
|
|
105 # define ENERGIZE_PURESIZE_EXTRA 290000
|
|
106 #else
|
|
107 # define ENERGIZE_PURESIZE_EXTRA 0
|
|
108 #endif
|
|
109
|
|
110 /* Extra amount of purespace needed for Sunpro builds. */
|
|
111
|
|
112 #ifdef SUNPRO
|
70
|
113 # define SUNPRO_PURESIZE_EXTRA 40000
|
0
|
114 #else
|
|
115 # define SUNPRO_PURESIZE_EXTRA 0
|
|
116 #endif
|
|
117
|
70
|
118 #define PURESIZE ((BASE_PURESIZE) + (MENUBAR_PURESIZE_EXTRA) + \
|
|
119 (X11_PURESIZE_EXTRA) + \
|
|
120 (SYSTEM_PURESIZE_EXTRA) + (MULE_PURESIZE_EXTRA) + \
|
|
121 (TOOLTALK_PURESIZE_EXTRA) + (ENERGIZE_PURESIZE_EXTRA) + \
|
|
122 (SUNPRO_PURESIZE_EXTRA))
|
0
|
123
|
70
|
124 #endif /* !PURESIZE */
|
0
|
125
|
|
126 #endif /* PURESIZE_H */
|