xref: /openbsd-src/gnu/lib/libreadline/config.h (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1 /* config.h.  Generated automatically by configure.  */
2 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
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 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
11 /* #undef STAT_MACROS_BROKEN */
12 
13 #define VOID_SIGHANDLER 1
14 
15 /* Define if you have the lstat function. */
16 #define HAVE_LSTAT 1
17 
18 /* Define if you have the memmove function. */
19 #define HAVE_MEMMOVE 1
20 
21 /* Define if you have the putenv function.  */
22 #define HAVE_PUTENV 1
23 
24 /* Define if you have the select function.  */
25 #define HAVE_SELECT 1
26 
27 /* Define if you have the setenv function.  */
28 #define HAVE_SETENV 1
29 
30 /* Define if you have the strcasecmp function.  */
31 #define HAVE_STRCASECMP 1
32 
33 /* Define if you have the setlocale function. */
34 #define HAVE_SETLOCALE 1
35 
36 /* Define if you have the tcgetattr function.  */
37 #define HAVE_TCGETATTR 1
38 
39 /* Define if you have the strcoll function.  */
40 #define HAVE_STRCOLL 1
41 
42 /* #undef STRCOLL_BROKEN */
43 
44 /* Define if you have the <dirent.h> header file.  */
45 #define HAVE_DIRENT_H 1
46 
47 /* Define if you have the <ndir.h> header file.  */
48 /* #undef HAVE_NDIR_H */
49 
50 /* Define if you have the <stdlib.h> header file.  */
51 #define HAVE_STDLIB_H 1
52 
53 /* Define if you have the <string.h> header file.  */
54 #define HAVE_STRING_H 1
55 
56 /* Define if you have the <sys/dir.h> header file.  */
57 /* #undef HAVE_SYS_DIR_H */
58 
59 /* Define if you have the <sys/file.h> header file.  */
60 #define HAVE_SYS_FILE_H 1
61 
62 /* Define if you have the <sys/ndir.h> header file.  */
63 /* #undef HAVE_SYS_NDIR_H */
64 
65 /* Define if you have the <sys/pte.h> header file.  */
66 /* #undef HAVE_SYS_PTE_H */
67 
68 /* Define if you have the <sys/ptem.h> header file.  */
69 /* #undef HAVE_SYS_PTEM_H */
70 
71 /* Define if you have the <sys/select.h> header file.  */
72 #define HAVE_SYS_SELECT_H 1
73 
74 /* Define if you have the <sys/stream.h> header file.  */
75 /* #undef HAVE_SYS_STREAM_H */
76 
77 /* Define if you have the <termcap.h> header file.  */
78 #define HAVE_TERMCAP_H 1
79 
80 /* Define if you have the <termio.h> header file.  */
81 /* #undef HAVE_TERMIO_H */
82 
83 /* Define if you have the <termios.h> header file.  */
84 #define HAVE_TERMIOS_H 1
85 
86 /* Define if you have the <unistd.h> header file.  */
87 #define HAVE_UNISTD_H 1
88 
89 /* Define if you have the <varargs.h> header file.  */
90 #define HAVE_VARARGS_H 1
91 
92 /* Define if you have the <stdarg.h> header file.  */
93 #define HAVE_STDARG_H 1
94 
95 #define HAVE_LOCALE_H 1
96 
97 /* Definitions pulled in from aclocal.m4. */
98 #define VOID_SIGHANDLER 1
99 
100 #define GWINSZ_IN_SYS_IOCTL 1
101 
102 #define STRUCT_WINSIZE_IN_SYS_IOCTL 1
103 
104 /* #undef STRUCT_WINSIZE_IN_TERMIOS */
105 
106 #define TIOCSTAT_IN_SYS_IOCTL 1
107 
108 #define FIONREAD_IN_SYS_IOCTL 1
109 
110 /* #undef SPEED_T_IN_SYS_TYPES */
111 
112 /* #undef HAVE_GETPW_DECLS */
113 
114 #define STRUCT_DIRENT_HAS_D_INO 1
115 
116 #define STRUCT_DIRENT_HAS_D_FILENO 1
117 
118 /* #undef HAVE_BSD_SIGNALS */
119 
120 #define HAVE_POSIX_SIGNALS 1
121 
122 /* #undef HAVE_USG_SIGHOLD */
123 
124 /* #undef MUST_REINSTALL_SIGHANDLERS */
125 
126 #define HAVE_POSIX_SIGSETJMP 1
127 
128 /* config.h.bot */
129 /* modify settings or make new ones based on what autoconf tells us. */
130 
131 /* Ultrix botches type-ahead when switching from canonical to
132    non-canonical mode, at least through version 4.3 */
133 #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
134 #  define TERMIOS_MISSING
135 #endif
136 
137 #if defined (STRCOLL_BROKEN)
138 #  define HAVE_STRCOLL 1
139 #endif
140 
141 #if defined (__STDC__) && defined (HAVE_STDARG_H)
142 #  define PREFER_STDARG
143 #  define USE_VARARGS
144 #else
145 #  if defined (HAVE_VARARGS_H)
146 #    define PREFER_VARARGS
147 #    define USE_VARARGS
148 #  endif
149 #endif
150