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