xref: /NextBSD/gnu/lib/libreadline/config.h (revision eb1a5f8de9f7ea602c373a710f531abbf81141c4)
1 /* $FreeBSD$ */
2 /* config.h.  Generated by configure.  */
3 /* config.h.in.  Maintained by hand. */
4 
5 /* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte
6    characters, even if the OS supports them. */
7 /* #undef NO_MULTIBYTE_SUPPORT */
8 
9 /* Define if on MINIX.  */
10 /* #undef _MINIX */
11 
12 /* Define as the return type of signal handlers (int or void).  */
13 #define RETSIGTYPE void
14 
15 #define VOID_SIGHANDLER 1
16 
17 /* Characteristics of the compiler. */
18 /* #undef const */
19 
20 /* #undef size_t */
21 
22 /* #undef ssize_t */
23 
24 #define PROTOTYPES 1
25 
26 /* #undef __CHAR_UNSIGNED__ */
27 
28 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
29 /* #undef STAT_MACROS_BROKEN */
30 
31 /* Define if you have the fcntl function. */
32 #define HAVE_FCNTL 1
33 
34 /* Define if you have the getpwent function. */
35 #define HAVE_GETPWENT 1
36 
37 /* Define if you have the getpwnam function. */
38 #define HAVE_GETPWNAM 1
39 
40 /* Define if you have the getpwuid function. */
41 #define HAVE_GETPWUID 1
42 
43 /* Define if you have the isascii function. */
44 #define HAVE_ISASCII 1
45 
46 /* Define if you have the iswctype function.  */
47 #define HAVE_ISWCTYPE 1
48 
49 /* Define if you have the iswlower function.  */
50 #define HAVE_ISWLOWER 1
51 
52 /* Define if you have the iswupper function.  */
53 #define HAVE_ISWUPPER 1
54 
55 /* Define if you have the isxdigit function. */
56 #define HAVE_ISXDIGIT 1
57 
58 /* Define if you have the kill function. */
59 #define HAVE_KILL 1
60 
61 /* Define if you have the lstat function. */
62 #define HAVE_LSTAT 1
63 
64 /* Define if you have the mbrlen function. */
65 #define HAVE_MBRLEN 1
66 
67 /* Define if you have the mbrtowc function. */
68 #define HAVE_MBRTOWC 1
69 
70 /* Define if you have the mbsrtowcs function. */
71 #define HAVE_MBSRTOWCS 1
72 
73 /* Define if you have the memmove function. */
74 #define HAVE_MEMMOVE 1
75 
76 /* Define if you have the putenv function.  */
77 #define HAVE_PUTENV 1
78 
79 /* Define if you have the select function.  */
80 #define HAVE_SELECT 1
81 
82 /* Define if you have the setenv function.  */
83 #define HAVE_SETENV 1
84 
85 /* Define if you have the setlocale function. */
86 #define HAVE_SETLOCALE 1
87 
88 /* Define if you have the strcasecmp function.  */
89 #define HAVE_STRCASECMP 1
90 
91 /* Define if you have the strcoll function.  */
92 #define HAVE_STRCOLL 1
93 
94 /* #undef STRCOLL_BROKEN */
95 
96 /* Define if you have the strpbrk function.  */
97 #define HAVE_STRPBRK 1
98 
99 /* Define if you have the tcgetattr function.  */
100 #define HAVE_TCGETATTR 1
101 
102 /* Define if you have the towlower function.  */
103 #define HAVE_TOWLOWER 1
104 
105 /* Define if you have the towupper function.  */
106 #define HAVE_TOWUPPER 1
107 
108 /* Define if you have the vsnprintf function.  */
109 #define HAVE_VSNPRINTF 1
110 
111 /* Define if you have the wcrtomb function.  */
112 #define HAVE_WCRTOMB 1
113 
114 /* Define if you have the wcscoll function.  */
115 #define HAVE_WCSCOLL 1
116 
117 /* Define if you have the wctype function.  */
118 #define HAVE_WCTYPE 1
119 
120 /* Define if you have the wcwidth function.  */
121 #define HAVE_WCWIDTH 1
122 
123 #define STDC_HEADERS 1
124 
125 /* Define if you have the <dirent.h> header file.  */
126 #define HAVE_DIRENT_H 1
127 
128 /* Define if you have the <fcntl.h> header file.  */
129 #define HAVE_FCNTL_H 1
130 
131 /* Define if you have the <langinfo.h> header file.  */
132 #define HAVE_LANGINFO_H 1
133 
134 /* Define if you have the <limits.h> header file.  */
135 #define HAVE_LIMITS_H 1
136 
137 /* Define if you have the <locale.h> header file.  */
138 #define HAVE_LOCALE_H 1
139 
140 /* Define if you have the <memory.h> header file.  */
141 #define HAVE_MEMORY_H 1
142 
143 /* Define if you have the <ndir.h> header file.  */
144 /* #undef HAVE_NDIR_H */
145 
146 /* Define if you have the <pwd.h> header file.  */
147 #define HAVE_PWD_H 1
148 
149 /* Define if you have the <stdarg.h> header file.  */
150 #define HAVE_STDARG_H 1
151 
152 /* Define if you have the <stdlib.h> header file.  */
153 #define HAVE_STDLIB_H 1
154 
155 /* Define if you have the <string.h> header file.  */
156 #define HAVE_STRING_H 1
157 
158 /* Define if you have the <strings.h> header file.  */
159 #define HAVE_STRINGS_H 1
160 
161 /* Define if you have the <sys/dir.h> header file.  */
162 /* #undef HAVE_SYS_DIR_H */
163 
164 /* Define if you have the <sys/file.h> header file.  */
165 #define HAVE_SYS_FILE_H 1
166 
167 /* Define if you have the <sys/ndir.h> header file.  */
168 /* #undef HAVE_SYS_NDIR_H */
169 
170 /* Define if you have the <sys/pte.h> header file.  */
171 /* #undef HAVE_SYS_PTE_H */
172 
173 /* Define if you have the <sys/ptem.h> header file.  */
174 /* #undef HAVE_SYS_PTEM_H */
175 
176 /* Define if you have the <sys/select.h> header file.  */
177 #define HAVE_SYS_SELECT_H 1
178 
179 /* Define if you have the <sys/stream.h> header file.  */
180 /* #undef HAVE_SYS_STREAM_H */
181 
182 /* Define if you have the <termcap.h> header file.  */
183 #define HAVE_TERMCAP_H 1
184 
185 /* Define if you have the <termio.h> header file.  */
186 /* #undef HAVE_TERMIO_H */
187 
188 /* Define if you have the <termios.h> header file.  */
189 #define HAVE_TERMIOS_H 1
190 
191 /* Define if you have the <unistd.h> header file.  */
192 #define HAVE_UNISTD_H 1
193 
194 /* Define if you have the <varargs.h> header file.  */
195 /* #undef HAVE_VARARGS_H */
196 
197 /* Define if you have the <wchar.h> header file.  */
198 #define HAVE_WCHAR_H 1
199 
200 /* Define if you have the <wctype.h> header file.  */
201 #define HAVE_WCTYPE_H 1
202 
203 #define HAVE_MBSTATE_T 1
204 
205 /* Define if you have wchar_t in <wctype.h>. */
206 #define HAVE_WCHAR_T 1
207 
208 /* Define if you have wctype_t in <wctype.h>. */
209 #define HAVE_WCTYPE_T 1
210 
211 /* Define if you have wint_t in <wctype.h>. */
212 #define HAVE_WINT_T 1
213 
214 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
215 #define HAVE_LANGINFO_CODESET 1
216 
217 /* Definitions pulled in from aclocal.m4. */
218 #define VOID_SIGHANDLER 1
219 
220 /* #undef GWINSZ_IN_SYS_IOCTL */
221 
222 #define STRUCT_WINSIZE_IN_SYS_IOCTL 1
223 
224 /* #undef STRUCT_WINSIZE_IN_TERMIOS */
225 
226 #define TIOCSTAT_IN_SYS_IOCTL 1
227 
228 #define FIONREAD_IN_SYS_IOCTL 1
229 
230 /* #undef SPEED_T_IN_SYS_TYPES */
231 
232 #define HAVE_GETPW_DECLS 1
233 
234 /* #undef STRUCT_DIRENT_HAS_D_INO */
235 
236 /* #undef STRUCT_DIRENT_HAS_D_FILENO */
237 
238 /* #undef HAVE_BSD_SIGNALS */
239 
240 #define HAVE_POSIX_SIGNALS 1
241 
242 /* #undef HAVE_USG_SIGHOLD */
243 
244 /* #undef MUST_REINSTALL_SIGHANDLERS */
245 
246 #define HAVE_POSIX_SIGSETJMP 1
247 
248 #define CTYPE_NON_ASCII 1
249 
250 /* modify settings or make new ones based on what autoconf tells us. */
251 
252 /* Ultrix botches type-ahead when switching from canonical to
253    non-canonical mode, at least through version 4.3 */
254 #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
255 #  define TERMIOS_MISSING
256 #endif
257 
258 #if defined (STRCOLL_BROKEN)
259 #  define HAVE_STRCOLL 1
260 #endif
261 
262 #if defined (__STDC__) && defined (HAVE_STDARG_H)
263 #  define PREFER_STDARG
264 #  define USE_VARARGS
265 #else
266 #  if defined (HAVE_VARARGS_H)
267 #    define PREFER_VARARGS
268 #    define USE_VARARGS
269 #  endif
270 #endif
271