xref: /openbsd/gnu/lib/libreadline/config.h (revision af70c2df)
1 /* config.h.  Generated automatically by configure.  */
2 /* config.h.in.  Maintained by hand. */
3 
4 /* Define if on MINIX.  */
5 /* #undef _MINIX */
6 
7 /* Define as the return type of signal handlers (int or void).  */
8 #define RETSIGTYPE void
9 
10 /* Characteristics of the compiler. */
11 /* #undef const */
12 
13 /* #undef size_t */
14 
15 /* #undef ssize_t */
16 
17 #define PROTOTYPES 1
18 
19 /* #undef __CHAR_UNSIGNED__ */
20 
21 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
22 /* #undef STAT_MACROS_BROKEN */
23 
24 #define VOID_SIGHANDLER 1
25 
26 /* Define if you have the isascii function. */
27 #define HAVE_ISASCII 1
28 
29 /* Define if you have the isxdigit function. */
30 #define HAVE_ISXDIGIT 1
31 
32 /* Define if you have the lstat function. */
33 #define HAVE_LSTAT 1
34 
35 /* Define if you have the mbsrtowcs function. */
36 /* #undef HAVE_MBSRTOWCS */
37 
38 /* Define if you have the memmove function. */
39 #define HAVE_MEMMOVE 1
40 
41 /* Define if you have the putenv function.  */
42 #define HAVE_PUTENV 1
43 
44 /* Define if you have the select function.  */
45 #define HAVE_SELECT 1
46 
47 /* Define if you have the setenv function.  */
48 #define HAVE_SETENV 1
49 
50 /* Define if you have the setlocale function. */
51 #define HAVE_SETLOCALE 1
52 
53 /* Define if you have the strcasecmp function.  */
54 #define HAVE_STRCASECMP 1
55 
56 /* Define if you have the strcoll function.  */
57 #define HAVE_STRCOLL 1
58 
59 /* #undef STRCOLL_BROKEN */
60 
61 /* Define if you have the strpbrk function.  */
62 #define HAVE_STRPBRK 1
63 
64 /* Define if you have the tcgetattr function.  */
65 #define HAVE_TCGETATTR 1
66 
67 /* Define if you have the vsnprintf function.  */
68 #define HAVE_VSNPRINTF 1
69 
70 /* Define if you have the wcwidth function.  */
71 /* #undef HAVE_WCWIDTH */
72 
73 /* Define if you have the <dirent.h> header file.  */
74 #define HAVE_DIRENT_H 1
75 
76 /* Define if you have the <langinfo.h> header file.  */
77 #define HAVE_LANGINFO_H 1
78 
79 /* Define if you have the <limits.h> header file.  */
80 #define HAVE_LIMITS_H 1
81 
82 /* Define if you have the <locale.h> header file.  */
83 #define HAVE_LOCALE_H 1
84 
85 /* Define if you have the <memory.h> header file.  */
86 #define HAVE_MEMORY_H 1
87 
88 /* Define if you have the <ndir.h> header file.  */
89 /* #undef HAVE_NDIR_H */
90 
91 /* Define if you have the <stdarg.h> header file.  */
92 #define HAVE_STDARG_H 1
93 
94 /* Define if you have the <stdlib.h> header file.  */
95 #define HAVE_STDLIB_H 1
96 
97 /* Define if you have the <string.h> header file.  */
98 #define HAVE_STRING_H 1
99 
100 /* Define if you have the <strings.h> header file.  */
101 #define HAVE_STRINGS_H 1
102 
103 /* Define if you have the <sys/dir.h> header file.  */
104 /* #undef HAVE_SYS_DIR_H */
105 
106 /* Define if you have the <sys/file.h> header file.  */
107 #define HAVE_SYS_FILE_H 1
108 
109 /* Define if you have the <sys/ndir.h> header file.  */
110 /* #undef HAVE_SYS_NDIR_H */
111 
112 /* Define if you have the <sys/pte.h> header file.  */
113 /* #undef HAVE_SYS_PTE_H */
114 
115 /* Define if you have the <sys/ptem.h> header file.  */
116 /* #undef HAVE_SYS_PTEM_H */
117 
118 /* Define if you have the <sys/select.h> header file.  */
119 #define HAVE_SYS_SELECT_H 1
120 
121 /* Define if you have the <sys/stream.h> header file.  */
122 /* #undef HAVE_SYS_STREAM_H */
123 
124 /* Define if you have the <termcap.h> header file.  */
125 #define HAVE_TERMCAP_H 1
126 
127 /* Define if you have the <termio.h> header file.  */
128 /* #undef HAVE_TERMIO_H */
129 
130 /* Define if you have the <termios.h> header file.  */
131 #define HAVE_TERMIOS_H 1
132 
133 /* Define if you have the <unistd.h> header file.  */
134 #define HAVE_UNISTD_H 1
135 
136 /* Define if you have the <varargs.h> header file.  */
137 #define HAVE_VARARGS_H 1
138 
139 /* Define if you have the <wchar.h> header file.  */
140 /* #undef HAVE_WCHAR_H */
141 
142 /* Define if you have the <varargs.h> header file.  */
143 /* #undef HAVE_WCTYPE_H */
144 
145 /* #undef HAVE_MBSTATE_T */
146 
147 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
148 /* #undef HAVE_LANGINFO_CODESET */
149 
150 /* Definitions pulled in from aclocal.m4. */
151 #define VOID_SIGHANDLER 1
152 
153 /* #undef GWINSZ_IN_SYS_IOCTL */
154 
155 #define STRUCT_WINSIZE_IN_SYS_IOCTL 1
156 
157 /* #undef STRUCT_WINSIZE_IN_TERMIOS */
158 
159 #define TIOCSTAT_IN_SYS_IOCTL 1
160 
161 #define FIONREAD_IN_SYS_IOCTL 1
162 
163 /* #undef SPEED_T_IN_SYS_TYPES */
164 
165 #define HAVE_GETPW_DECLS 1
166 
167 #define STRUCT_DIRENT_HAS_D_INO 1
168 
169 #define STRUCT_DIRENT_HAS_D_FILENO 1
170 
171 /* #undef HAVE_BSD_SIGNALS */
172 
173 #define HAVE_POSIX_SIGNALS 1
174 
175 /* #undef HAVE_USG_SIGHOLD */
176 
177 /* #undef MUST_REINSTALL_SIGHANDLERS */
178 
179 #define HAVE_POSIX_SIGSETJMP 1
180 
181 /* modify settings or make new ones based on what autoconf tells us. */
182 
183 /* Ultrix botches type-ahead when switching from canonical to
184    non-canonical mode, at least through version 4.3 */
185 #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
186 #  define TERMIOS_MISSING
187 #endif
188 
189 #if defined (STRCOLL_BROKEN)
190 #  define HAVE_STRCOLL 1
191 #endif
192 
193 #if defined (__STDC__) && defined (HAVE_STDARG_H)
194 #  define PREFER_STDARG
195 #  define USE_VARARGS
196 #else
197 #  if defined (HAVE_VARARGS_H)
198 #    define PREFER_VARARGS
199 #    define USE_VARARGS
200 #  endif
201 #endif
202