File: config_h.in

package info (click to toggle)
xspread 3.1.1c-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,836 kB
  • ctags: 1,426
  • sloc: ansic: 19,342; yacc: 499; lisp: 231; makefile: 198; sh: 28; sed: 4
file content (308 lines) | stat: -rw-r--r-- 7,886 bytes parent folder | download
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
/* config_h.in.  Generated automatically from configure.in by autoheader.  */
/* Process this file with autoheader to produce config.h.in */
/**** Things below you can change/configure */

/*  The default font to use */
#define SC_FONT "9x15"

/*  Define this if you want backups saved of the files */
#define DOBACKUPS

/* File name to use for an emergency save */
#define SAVENAME "SC.SAVE"

/*  The default file viewer */
#define DFLT_PAGER "less"

/*  Define CRYPT_PATH if you want crypt support compiled in */
#undef CRYPT_PATH

/*  If you want to run "des" instead of "crypt" for crypting. */
#undef DES

/*
 * Set SHOWCURSOR to TRUE if you want the default action to show a cursor,
 * set it to FALSE otherwise.  Set SHOWCURSORTAG the same way to change
 * the manual page.
 */
#define SHOWCURSOR	1

/* Define if you have case insensitive command lines (dos, etc.) */
#undef CASEINSENSITIVECMDLINE

/*
 * Set INTERNATIONAL if you need 8 bit characters.  You should
 * not set this if you are running 5.3.0.  I think it is OK in 5.3.1.
 */
#undef INTERNATIONAL


/**************************************************/
/* Things that might help with curses bugs on various system/curses versions */

/*
 * Define CURSES_NO_NONL_BUG if your curses has the nl/nonl bug
 * if it does and you don't set CURSES_NO_NONL_BUG, the display will
 * be staggered across the screen. Also try IDLOKBAD below.
 */
#undef CURSES_NO_NONL_BUG

/*
 * **** SYSV curses bugs... ****
 * Try setting IDLOKBAD to fix (with an empty spreadsheet):
 *	a) Redrawing the bottom half of the screen when you
 *	 	move between row 9 <-> 10
 *	b) the highlighted row labels being trash when you
 *		move between row 9 <-> 10
 *	c) On an xterm on Esix Rev. D+ from eating lines
 *		 -goto (or move) a few lines (or more) past the bottom
 *		 of the screen, goto (or move) to the top line on the
 *		 screen, move upward and the current line is deleted, the
 *		 others move up even when they should not, check by
 *		 noticing the rows become 2, 3, 40, 41, 42... (etc).
 *	Known systems/terminfos w/ curses problems:
 *	{Esix Rev. D+, AT&T SysV3.2.1}:at386-m,xterm, HP-UX7.0:(not sure)
 */
#undef	IDLOKBAD

/*
 * If moving right off the screen causes the screen to not redraw
 * properly, define RIGHT_CBUG to get around a curses problem on some
 * boxes, this forces screen redraws when going right off the screen
 */
#undef RIGHT_CBUG

/**************************************************/
/* Below here 'configure' should have everything set the way you need it */



/*  Some yuck I found where it turned abs() into some inline routine?? */
#if defined(convex)
#define __NO_INLINE
#endif

/*
 * Should function prototypes be seen?
 *
 * PROTO is used with: func PROTO ((arg1, arg2))
 * The outer set of () pass the inner set of () to the macro.
 * In the prototype version we just pass the (arg1,arg2) on, in the K&R
 * version we just create the empty function arg list.
 */
#ifdef __STDC__
#undef PROTO
#define PROTO(x)	x
#else
#undef PROTO
#define PROTO(x)	()
#endif /* __STDC__ */


/*  The regular expression handlers
 *  RE_COMP for system re_comp/re_exec()   (BSD, SUN)
 *  REGCMP for standard system regcmp/regex handlers (SVR3/4)
 *  REGCOMP for spencer lib use
 *  REG_COMP for POSIX.2 FIPS 
 */

/*  386BSD has patches to use RE_COMP, but some people may not have them */
/*
#if defined(__386BSD__) || defined(__hpux)
#define REGCOMP
#else

#if defined(SYSV)
#define REGCMP
#else
*/
/* defined(mips) || defined(sun) || defined(__convex__) || defined(__osf__) */
/*
#define RE_COMP

#endif
#endif
*/
/* my note: __sgi__ for sgi machines */


/**** The things below are created by configure ****/

/* Define if using alloca.c.  */
#undef C_ALLOCA

/* Define to empty if the keyword does not work.  */
#undef const

/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
   This function is required for alloca.c support on those systems.  */
#undef CRAY_STACKSEG_END

/* Define if you have alloca, as a function or macro.  */
#undef HAVE_ALLOCA

/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
#undef HAVE_ALLOCA_H

/* Define if your struct stat has st_blksize.  */
#undef HAVE_ST_BLKSIZE

/* Define as the return type of signal handlers (int or void).  */
#undef RETSIGTYPE

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
#undef size_t

/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at run-time.
	STACK_DIRECTION > 0 => grows toward higher addresses
	STACK_DIRECTION < 0 => grows toward lower addresses
	STACK_DIRECTION = 0 => direction of growth unknown
 */
#undef STACK_DIRECTION

/* Define if you have the ANSI C header files.  */
#undef STDC_HEADERS

/* Define if your <sys/time.h> declares struct tm.  */
#undef TM_IN_SYS_TIME

/* Define if you have X11 header files.  */
#undef HAVE_X11_X_H

/* Define if you shouldn't use termcap.  */
#undef NO_TERMCAP

/* Define if you have the fixterm function.  */
#undef HAVE_FIXTERM

/* Define if you have the fmod function.  */
#undef HAVE_FMOD

/* Define if you have the idlok function.  */
#undef HAVE_IDLOK

/* Define if you have the keypad function.  */
#undef HAVE_KEYPAD

/* Define if you have the memcpy function.  */
#undef HAVE_MEMCPY

/* Define if you have the notimeout function.  */
#undef HAVE_NOTIMEOUT

/* Define if you have the pow10 function.  */
#undef HAVE_POW10

/* Define if you have the re_comp function.  */
#undef HAVE_RE_COMP

/* Define if you have the regcmp function.  */
#undef HAVE_REGCMP

/* Define if you have the regcomp function.  */
#undef HAVE_REGCOMP

/* Define if you have the reset_prog_mode function.  */
#undef HAVE_RESET_PROG_MODE

/* Define if you have the reset_term_mode function.  */
#undef HAVE_RESET_TERM_MODE

/* Define if you have the resetterm function.  */
#undef HAVE_RESETTERM

/* Define if you have the rint function.  */
#undef HAVE_RINT

/* Define if you have the strchr function.  */
#undef HAVE_STRCHR

/* Define if you have the <ctype.h> header file.  */
#undef HAVE_CTYPE_H

/* Define if you have the <fcntl.h> header file.  */
#undef HAVE_FCNTL_H

/* Define if you have the <limits.h> header file.  */
#undef HAVE_LIMITS_H

/* Define if you have the <stdlib.h> header file.  */
#undef HAVE_STDLIB_H

/* Define if you have the <string.h> header file.  */
#undef HAVE_STRING_H

/* Define if you have the <strings.h> header file.  */
#undef HAVE_STRINGS_H

/* Define if you have the <sys/file.h> header file.  */
#undef HAVE_SYS_FILE_H

/* Define if you have the <sys/ioctl.h> header file.  */
#undef HAVE_SYS_IOCTL_H

/* Define if you have the <sys/ptem.h> header file.  */
#undef HAVE_SYS_PTEM_H

/* Define if you have the <sys/stream.h> header file.  */
#undef HAVE_SYS_STREAM_H

/* Define if you have the <sys/time.h> header file.  */
#undef HAVE_SYS_TIME_H

/* Define if you have the <time.h> header file.  */
#undef HAVE_TIME_H

/* Define if you have the <unistd.h> header file.  */
#undef HAVE_UNISTD_H

/* Define if you have the PW library (-lPW).  */
#undef HAVE_LIBPW

/* Define if you have the gen library (-lgen).  */
#undef HAVE_LIBGEN

/* Define if you have the intl library (-lintl).  */
#undef HAVE_LIBINTL


/* Standard include files */

#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

#ifdef HAVE_CTYPE_H
#include <ctype.h>
#endif

#ifdef HAVE_SYS_IOCTL_H
#ifdef __alpha
// Use the defined ltchar from this include instead
#  include <asm/termios.h>
#else
#  include <sys/ioctl.h>
#endif // __alpha
#endif

#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif

#ifdef HAVE_STRINGS_H
#include <strings.h>
#elif defined(HAVE_STRING_H)
#include <string.h>
#endif

#ifdef HAVE_TIME_H
#include <time.h>
#elif defined(HAVE_SYS_TIME_H)
#include <sys/time.h>
#endif