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