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
|
102
|
31 #if 0
|
0
|
32 /* Basic amount of purespace to use, in the absence of extra
|
|
33 things configured in. */
|
|
34
|
|
35 #if (LONGBITS == 64)
|
100
|
36 # define BASE_PURESIZE 938000
|
0
|
37 #else
|
98
|
38 # define BASE_PURESIZE 563000
|
0
|
39 #endif
|
|
40
|
|
41 /* If any particular systems need to change the base puresize, they
|
|
42 should define SYSTEM_PURESIZE_EXTRA. Note that this can be
|
|
43 negative as well as positive.
|
|
44
|
|
45 Do NOT define PURESIZE or any other values. This allows the
|
|
46 other values to shift while still keeping things in sync. */
|
|
47
|
|
48 #ifndef SYSTEM_PURESIZE_EXTRA
|
|
49 # define SYSTEM_PURESIZE_EXTRA 0
|
|
50 #endif
|
|
51
|
|
52 /* Extra amount of purespace needed for menubars. */
|
|
53
|
|
54 #ifdef HAVE_MENUBARS
|
|
55 # if (LONGBITS == 64)
|
|
56 # define MENUBAR_PURESIZE_EXTRA 43000
|
|
57 # else
|
70
|
58 # define MENUBAR_PURESIZE_EXTRA 35000
|
0
|
59 # endif
|
|
60 #else
|
|
61 # define MENUBAR_PURESIZE_EXTRA 0
|
|
62 #endif
|
|
63
|
70
|
64 /* Scrollbar purespace needed is only about 2K so there's no sense
|
|
65 worrying about it separately. */
|
0
|
66
|
70
|
67 /* Extra amount of purespace needed for X11, separate from menubars. */
|
0
|
68
|
|
69 #ifdef HAVE_X_WINDOWS
|
|
70 # if (LONGBITS == 64)
|
|
71 # define X11_PURESIZE_EXTRA 95000
|
|
72 # else
|
88
|
73 # define X11_PURESIZE_EXTRA 68000
|
0
|
74 # endif
|
|
75 #else
|
28
|
76 # define X11_PURESIZE_EXTRA 0
|
0
|
77 #endif
|
|
78
|
16
|
79 /* Extra amount of purespace needed for Mule. */
|
|
80
|
|
81 #ifdef MULE
|
88
|
82 #ifdef HAVE_CANNA
|
|
83 # define MULE_PURESIZE_CANNA 5000
|
|
84 #else
|
|
85 # define MULE_PURESIZE_CANNA 0
|
|
86 #endif
|
98
|
87 #ifdef HAVE_WNN
|
|
88 # define MULE_PURESIZE_WNN 5000
|
|
89 #else
|
|
90 # define MULE_PURESIZE_WNN 0
|
|
91 #endif
|
16
|
92 # if (LONGBITS == 64)
|
98
|
93 # define MULE_PURESIZE_EXTRA 99000+MULE_PURESIZE_CANNA+MULE_PURESIZE_WNN
|
16
|
94 # else
|
98
|
95 # define MULE_PURESIZE_EXTRA 78000+MULE_PURESIZE_CANNA+MULE_PURESIZE_WNN
|
16
|
96 # endif
|
|
97 #else
|
|
98 # define MULE_PURESIZE_EXTRA 0
|
|
99 #endif
|
|
100
|
0
|
101 /* Extra amount of purespace needed for Tooltalk. */
|
|
102
|
|
103 #ifdef TOOLTALK
|
|
104 # if (LONGBITS == 64)
|
|
105 # define TOOLTALK_PURESIZE_EXTRA 100000
|
|
106 # else
|
70
|
107 # define TOOLTALK_PURESIZE_EXTRA 69000
|
0
|
108 # endif
|
|
109 #else
|
|
110 # define TOOLTALK_PURESIZE_EXTRA 0
|
|
111 #endif
|
|
112
|
|
113 /* Extra amount of purespace needed for Energize builds. */
|
|
114
|
|
115 #ifdef ENERGIZE
|
|
116 # define ENERGIZE_PURESIZE_EXTRA 290000
|
|
117 #else
|
|
118 # define ENERGIZE_PURESIZE_EXTRA 0
|
|
119 #endif
|
|
120
|
|
121 /* Extra amount of purespace needed for Sunpro builds. */
|
|
122
|
|
123 #ifdef SUNPRO
|
100
|
124 #define SUNPRO_PURESIZE_EXTRA 95000
|
0
|
125 #else
|
|
126 # define SUNPRO_PURESIZE_EXTRA 0
|
|
127 #endif
|
|
128
|
70
|
129 #define PURESIZE ((BASE_PURESIZE) + (MENUBAR_PURESIZE_EXTRA) + \
|
|
130 (X11_PURESIZE_EXTRA) + \
|
|
131 (SYSTEM_PURESIZE_EXTRA) + (MULE_PURESIZE_EXTRA) + \
|
|
132 (TOOLTALK_PURESIZE_EXTRA) + (ENERGIZE_PURESIZE_EXTRA) + \
|
|
133 (SUNPRO_PURESIZE_EXTRA))
|
102
|
134 #endif
|
|
135
|
|
136 /* Computed by XEmacs */
|
|
137 # include <PURESIZE.h>
|
0
|
138
|
70
|
139 #endif /* !PURESIZE */
|
0
|
140
|
|
141 #endif /* PURESIZE_H */
|