Do not allow '.' or '..' to be specified as the last path component when
[dragonfly.git] / gnu / lib / libreadline / config.h
1 /* $DragonFly: src/gnu/lib/libreadline/Attic/config.h,v 1.3 2004/10/23 16:58:53 joerg Exp $ */
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 isascii function. */
32 #define HAVE_ISASCII 1
33
34 /* Define if you have the isxdigit function. */
35 #define HAVE_ISXDIGIT 1
36
37 /* Define if you have the lstat function. */
38 #define HAVE_LSTAT 1
39
40 /* Define if you have the mbrlen function. */
41 /* #undef HAVE_MBRLEN */
42
43 /* Define if you have the mbrtowc function. */
44 /* #undef HAVE_MBRTOWC */
45
46 /* Define if you have the mbsrtowcs function. */
47 /* #undef HAVE_MBSRTOWCS */
48
49 /* Define if you have the memmove function. */
50 #define HAVE_MEMMOVE 1
51
52 /* Define if you have the putenv function.  */
53 #define HAVE_PUTENV 1
54
55 /* Define if you have the select function.  */
56 #define HAVE_SELECT 1
57
58 /* Define if you have the setenv function.  */
59 #define HAVE_SETENV 1
60
61 /* Define if you have the setlocale function. */
62 #define HAVE_SETLOCALE 1
63
64 /* Define if you have the strcasecmp function.  */
65 #define HAVE_STRCASECMP 1
66
67 /* Define if you have the strcoll function.  */
68 #define HAVE_STRCOLL 1
69
70 /* #undef STRCOLL_BROKEN */
71
72 /* Define if you have the strpbrk function.  */
73 #define HAVE_STRPBRK 1
74
75 /* Define if you have the tcgetattr function.  */
76 #define HAVE_TCGETATTR 1
77
78 /* Define if you have the vsnprintf function.  */
79 #define HAVE_VSNPRINTF 1
80
81 /* Define if you have the wctomb function.  */
82 #define HAVE_WCTOMB 1
83
84 /* Define if you have the wcwidth function.  */
85 /* #undef HAVE_WCWIDTH */
86
87 #define STDC_HEADERS 1
88
89 /* Define if you have the <dirent.h> header file.  */
90 #define HAVE_DIRENT_H 1
91
92 /* Define if you have the <langinfo.h> header file.  */
93 #define HAVE_LANGINFO_H 1
94
95 /* Define if you have the <limits.h> header file.  */
96 #define HAVE_LIMITS_H 1
97
98 /* Define if you have the <locale.h> header file.  */
99 #define HAVE_LOCALE_H 1
100
101 /* Define if you have the <memory.h> header file.  */
102 #define HAVE_MEMORY_H 1
103
104 /* Define if you have the <ndir.h> header file.  */
105 /* #undef HAVE_NDIR_H */
106
107 /* Define if you have the <stdarg.h> header file.  */
108 #define HAVE_STDARG_H 1
109
110 /* Define if you have the <stdlib.h> header file.  */
111 #define HAVE_STDLIB_H 1
112
113 /* Define if you have the <string.h> header file.  */
114 #define HAVE_STRING_H 1
115
116 /* Define if you have the <strings.h> header file.  */
117 #define HAVE_STRINGS_H 1
118
119 /* Define if you have the <sys/dir.h> header file.  */
120 /* #undef HAVE_SYS_DIR_H */
121
122 /* Define if you have the <sys/file.h> header file.  */
123 #define HAVE_SYS_FILE_H 1
124
125 /* Define if you have the <sys/ndir.h> header file.  */
126 /* #undef HAVE_SYS_NDIR_H */
127
128 /* Define if you have the <sys/pte.h> header file.  */
129 /* #undef HAVE_SYS_PTE_H */
130
131 /* Define if you have the <sys/ptem.h> header file.  */
132 /* #undef HAVE_SYS_PTEM_H */
133
134 /* Define if you have the <sys/select.h> header file.  */
135 #define HAVE_SYS_SELECT_H 1
136
137 /* Define if you have the <sys/stream.h> header file.  */
138 /* #undef HAVE_SYS_STREAM_H */
139
140 /* Define if you have the <termcap.h> header file.  */
141 #define HAVE_TERMCAP_H 1
142
143 /* Define if you have the <termio.h> header file.  */
144 /* #undef HAVE_TERMIO_H */
145
146 /* Define if you have the <termios.h> header file.  */
147 #define HAVE_TERMIOS_H 1
148
149 /* Define if you have the <unistd.h> header file.  */
150 #define HAVE_UNISTD_H 1
151
152 /* Define if you have the <varargs.h> header file.  */
153 #define HAVE_VARARGS_H 1
154
155 /* Define if you have the <wchar.h> header file.  */
156 #define HAVE_WCHAR_H 1
157
158 /* Define if you have the <varargs.h> header file.  */
159 #define HAVE_WCTYPE_H 1
160
161 #define HAVE_MBSTATE_T 1
162
163 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
164 #define HAVE_LANGINFO_CODESET 1
165
166 /* Definitions pulled in from aclocal.m4. */
167 #define VOID_SIGHANDLER 1
168
169 /* #undef GWINSZ_IN_SYS_IOCTL */
170
171 #define STRUCT_WINSIZE_IN_SYS_IOCTL 1
172
173 /* #undef STRUCT_WINSIZE_IN_TERMIOS */
174
175 #define TIOCSTAT_IN_SYS_IOCTL 1
176
177 #define FIONREAD_IN_SYS_IOCTL 1
178
179 /* #undef SPEED_T_IN_SYS_TYPES */
180
181 #define HAVE_GETPW_DECLS 1
182
183 /* #undef STRUCT_DIRENT_HAS_D_INO */
184
185 /* #undef STRUCT_DIRENT_HAS_D_FILENO */
186
187 /* #undef HAVE_BSD_SIGNALS */
188
189 #define HAVE_POSIX_SIGNALS 1
190
191 /* #undef HAVE_USG_SIGHOLD */
192
193 /* #undef MUST_REINSTALL_SIGHANDLERS */
194
195 #define HAVE_POSIX_SIGSETJMP 1
196
197 #define CTYPE_NON_ASCII 1
198
199 /* modify settings or make new ones based on what autoconf tells us. */
200
201 /* Ultrix botches type-ahead when switching from canonical to
202    non-canonical mode, at least through version 4.3 */
203 #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
204 #  define TERMIOS_MISSING
205 #endif
206
207 #if defined (STRCOLL_BROKEN)
208 #  define HAVE_STRCOLL 1
209 #endif
210
211 #if defined (__STDC__) && defined (HAVE_STDARG_H)
212 #  define PREFER_STDARG
213 #  define USE_VARARGS
214 #else
215 #  if defined (HAVE_VARARGS_H)
216 #    define PREFER_VARARGS
217 #    define USE_VARARGS
218 #  endif
219 #endif