1 /* Process this file with autoheader to produce config.h.in */
2 /**** Things below you can change/configure */
3 
4 /*  The default font to use */
5 #define SC_FONT "9x15"
6 
7 /*  Define this if you want backups saved of the files */
8 #define DOBACKUPS
9 
10 /* File name to use for an emergency save */
11 #define SAVENAME "SC.SAVE"
12 
13 /*  The default file viewer */
14 #define DFLT_PAGER "less"
15 
16 /*  Define CRYPT_PATH if you want crypt support compiled in */
17 #undef CRYPT_PATH
18 
19 /*  If you want to run "des" instead of "crypt" for crypting. */
20 #undef DES
21 
22 /*
23  * Set SHOWCURSOR to TRUE if you want the default action to show a cursor,
24  * set it to FALSE otherwise.  Set SHOWCURSORTAG the same way to change
25  * the manual page.
26  */
27 #define SHOWCURSOR	1
28 
29 /* Define if you have case insensitive command lines (dos, etc.) */
30 #undef CASEINSENSITIVECMDLINE
31 
32 /*
33  * Set INTERNATIONAL if you need 8 bit characters.  You should
34  * not set this if you are running 5.3.0.  I think it is OK in 5.3.1.
35  */
36 #undef INTERNATIONAL
37 
38 
39 /**************************************************/
40 /* Things that might help with curses bugs on various system/curses versions */
41 
42 /*
43  * Define CURSES_NO_NONL_BUG if your curses has the nl/nonl bug
44  * if it does and you don't set CURSES_NO_NONL_BUG, the display will
45  * be staggered across the screen. Also try IDLOKBAD below.
46  */
47 #undef CURSES_NO_NONL_BUG
48 
49 /*
50  * **** SYSV curses bugs... ****
51  * Try setting IDLOKBAD to fix (with an empty spreadsheet):
52  *	a) Redrawing the bottom half of the screen when you
53  *	 	move between row 9 <-> 10
54  *	b) the highlighted row labels being trash when you
55  *		move between row 9 <-> 10
56  *	c) On an xterm on Esix Rev. D+ from eating lines
57  *		 -goto (or move) a few lines (or more) past the bottom
58  *		 of the screen, goto (or move) to the top line on the
59  *		 screen, move upward and the current line is deleted, the
60  *		 others move up even when they should not, check by
61  *		 noticing the rows become 2, 3, 40, 41, 42... (etc).
62  *	Known systems/terminfos w/ curses problems:
63  *	{Esix Rev. D+, AT&T SysV3.2.1}:at386-m,xterm, HP-UX7.0:(not sure)
64  */
65 #undef	IDLOKBAD
66 
67 /*
68  * If moving right off the screen causes the screen to not redraw
69  * properly, define RIGHT_CBUG to get around a curses problem on some
70  * boxes, this forces screen redraws when going right off the screen
71  */
72 #undef RIGHT_CBUG
73 
74 /**************************************************/
75 /* Below here 'configure' should have everything set the way you need it */
76 
77 
78 
79 /*  Some yuck I found where it turned abs() into some inline routine?? */
80 #if defined(convex)
81 #define __NO_INLINE
82 #endif
83 
84 /*
85  * Should function prototypes be seen?
86  *
87  * PROTO is used with: func PROTO ((arg1, arg2))
88  * The outer set of () pass the inner set of () to the macro.
89  * In the prototype version we just pass the (arg1,arg2) on, in the K&R
90  * version we just create the empty function arg list.
91  */
92 #ifdef __STDC__
93 #undef PROTO
94 #define PROTO(x)	x
95 #else
96 #undef PROTO
97 #define PROTO(x)	()
98 #endif /* __STDC__ */
99 
100 
101 /*  The regular expression handlers
102  *  RE_COMP for system re_comp/re_exec()   (BSD, SUN)
103  *  REGCMP for standard system regcmp/regex handlers (SVR3/4)
104  *  REGCOMP for spencer lib use
105  *  REG_COMP for POSIX.2 FIPS
106  */
107 
108 /*  386BSD has patches to use RE_COMP, but some people may not have them */
109 /*
110 #if defined(__386BSD__) || defined(__hpux)
111 #define REGCOMP
112 #else
113 
114 #if defined(SYSV)
115 #define REGCMP
116 #else
117 */
118 /* defined(mips) || defined(sun) || defined(__convex__) || defined(__osf__) */
119 /*
120 #define RE_COMP
121 
122 #endif
123 #endif
124 */
125 /* my note: __sgi__ for sgi machines */
126 
127 
128 /**** The things below are created by configure ****/
129 @TOP@
130 
131 /* These are rules we use to insert code segments */
132 
133 /* Define if you have X11 header files.  */
134 #undef HAVE_X11_X_H
135 
136 /* Define if you shouldn't use termcap.  */
137 #undef NO_TERMCAP
138 
139 @BOTTOM@
140 
141 
142 /* Standard include files */
143 
144 #ifdef HAVE_STDLIB_H
145 #include <stdlib.h>
146 #endif
147 
148 #ifdef HAVE_UNISTD_H
149 #include <unistd.h>
150 #endif
151 
152 #ifdef HAVE_CTYPE_H
153 #include <ctype.h>
154 #endif
155 
156 #ifdef HAVE_SYS_IOCTL_H
157 #include <sys/ioctl.h>
158 #endif
159 
160 #ifdef HAVE_LIMITS_H
161 #include <limits.h>
162 #endif
163 
164 #ifdef HAVE_STRINGS_H
165 #include <strings.h>
166 #elif defined(HAVE_STRING_H)
167 #include <string.h>
168 #endif
169 
170 #ifdef HAVE_TIME_H
171 #include <time.h>
172 #elif defined(HAVE_SYS_TIME_H)
173 #include <sys/time.h>
174 #endif
175