xref: /openbsd-src/gnu/lib/libreadline/config.h (revision af70c2df780099dcdde93deaba1af49686a47bbf)
173448528Smillert /* config.h.  Generated automatically by configure.  */
2*af70c2dfSkettenis /* config.h.in.  Maintained by hand. */
373448528Smillert 
473448528Smillert /* Define if on MINIX.  */
573448528Smillert /* #undef _MINIX */
673448528Smillert 
773448528Smillert /* Define as the return type of signal handlers (int or void).  */
873448528Smillert #define RETSIGTYPE void
973448528Smillert 
10*af70c2dfSkettenis /* Characteristics of the compiler. */
11*af70c2dfSkettenis /* #undef const */
12*af70c2dfSkettenis 
13*af70c2dfSkettenis /* #undef size_t */
14*af70c2dfSkettenis 
15*af70c2dfSkettenis /* #undef ssize_t */
16*af70c2dfSkettenis 
17*af70c2dfSkettenis #define PROTOTYPES 1
18*af70c2dfSkettenis 
19*af70c2dfSkettenis /* #undef __CHAR_UNSIGNED__ */
20*af70c2dfSkettenis 
2173448528Smillert /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
2273448528Smillert /* #undef STAT_MACROS_BROKEN */
2373448528Smillert 
2473448528Smillert #define VOID_SIGHANDLER 1
2573448528Smillert 
26*af70c2dfSkettenis /* Define if you have the isascii function. */
27*af70c2dfSkettenis #define HAVE_ISASCII 1
28*af70c2dfSkettenis 
29*af70c2dfSkettenis /* Define if you have the isxdigit function. */
30*af70c2dfSkettenis #define HAVE_ISXDIGIT 1
31*af70c2dfSkettenis 
3273448528Smillert /* Define if you have the lstat function. */
3373448528Smillert #define HAVE_LSTAT 1
3473448528Smillert 
35*af70c2dfSkettenis /* Define if you have the mbsrtowcs function. */
36*af70c2dfSkettenis /* #undef HAVE_MBSRTOWCS */
37*af70c2dfSkettenis 
3873448528Smillert /* Define if you have the memmove function. */
3973448528Smillert #define HAVE_MEMMOVE 1
4073448528Smillert 
4173448528Smillert /* Define if you have the putenv function.  */
4273448528Smillert #define HAVE_PUTENV 1
4373448528Smillert 
4473448528Smillert /* Define if you have the select function.  */
4573448528Smillert #define HAVE_SELECT 1
4673448528Smillert 
4773448528Smillert /* Define if you have the setenv function.  */
4873448528Smillert #define HAVE_SETENV 1
4973448528Smillert 
5073448528Smillert /* Define if you have the setlocale function. */
5173448528Smillert #define HAVE_SETLOCALE 1
5273448528Smillert 
53*af70c2dfSkettenis /* Define if you have the strcasecmp function.  */
54*af70c2dfSkettenis #define HAVE_STRCASECMP 1
5573448528Smillert 
5673448528Smillert /* Define if you have the strcoll function.  */
5773448528Smillert #define HAVE_STRCOLL 1
5873448528Smillert 
5973448528Smillert /* #undef STRCOLL_BROKEN */
6073448528Smillert 
61*af70c2dfSkettenis /* Define if you have the strpbrk function.  */
62*af70c2dfSkettenis #define HAVE_STRPBRK 1
63*af70c2dfSkettenis 
64*af70c2dfSkettenis /* Define if you have the tcgetattr function.  */
65*af70c2dfSkettenis #define HAVE_TCGETATTR 1
66*af70c2dfSkettenis 
67*af70c2dfSkettenis /* Define if you have the vsnprintf function.  */
68*af70c2dfSkettenis #define HAVE_VSNPRINTF 1
69*af70c2dfSkettenis 
70*af70c2dfSkettenis /* Define if you have the wcwidth function.  */
71*af70c2dfSkettenis /* #undef HAVE_WCWIDTH */
72*af70c2dfSkettenis 
7373448528Smillert /* Define if you have the <dirent.h> header file.  */
7473448528Smillert #define HAVE_DIRENT_H 1
7573448528Smillert 
76*af70c2dfSkettenis /* Define if you have the <langinfo.h> header file.  */
77*af70c2dfSkettenis #define HAVE_LANGINFO_H 1
78*af70c2dfSkettenis 
79*af70c2dfSkettenis /* Define if you have the <limits.h> header file.  */
80*af70c2dfSkettenis #define HAVE_LIMITS_H 1
81*af70c2dfSkettenis 
82*af70c2dfSkettenis /* Define if you have the <locale.h> header file.  */
83*af70c2dfSkettenis #define HAVE_LOCALE_H 1
84*af70c2dfSkettenis 
85*af70c2dfSkettenis /* Define if you have the <memory.h> header file.  */
86*af70c2dfSkettenis #define HAVE_MEMORY_H 1
87*af70c2dfSkettenis 
8873448528Smillert /* Define if you have the <ndir.h> header file.  */
8973448528Smillert /* #undef HAVE_NDIR_H */
9073448528Smillert 
91*af70c2dfSkettenis /* Define if you have the <stdarg.h> header file.  */
92*af70c2dfSkettenis #define HAVE_STDARG_H 1
93*af70c2dfSkettenis 
9473448528Smillert /* Define if you have the <stdlib.h> header file.  */
9573448528Smillert #define HAVE_STDLIB_H 1
9673448528Smillert 
9773448528Smillert /* Define if you have the <string.h> header file.  */
9873448528Smillert #define HAVE_STRING_H 1
9973448528Smillert 
100*af70c2dfSkettenis /* Define if you have the <strings.h> header file.  */
101*af70c2dfSkettenis #define HAVE_STRINGS_H 1
102*af70c2dfSkettenis 
10373448528Smillert /* Define if you have the <sys/dir.h> header file.  */
10473448528Smillert /* #undef HAVE_SYS_DIR_H */
10573448528Smillert 
10673448528Smillert /* Define if you have the <sys/file.h> header file.  */
10773448528Smillert #define HAVE_SYS_FILE_H 1
10873448528Smillert 
10973448528Smillert /* Define if you have the <sys/ndir.h> header file.  */
11073448528Smillert /* #undef HAVE_SYS_NDIR_H */
11173448528Smillert 
11273448528Smillert /* Define if you have the <sys/pte.h> header file.  */
11373448528Smillert /* #undef HAVE_SYS_PTE_H */
11473448528Smillert 
11573448528Smillert /* Define if you have the <sys/ptem.h> header file.  */
11673448528Smillert /* #undef HAVE_SYS_PTEM_H */
11773448528Smillert 
11873448528Smillert /* Define if you have the <sys/select.h> header file.  */
11973448528Smillert #define HAVE_SYS_SELECT_H 1
12073448528Smillert 
12173448528Smillert /* Define if you have the <sys/stream.h> header file.  */
12273448528Smillert /* #undef HAVE_SYS_STREAM_H */
12373448528Smillert 
12473448528Smillert /* Define if you have the <termcap.h> header file.  */
12573448528Smillert #define HAVE_TERMCAP_H 1
12673448528Smillert 
12773448528Smillert /* Define if you have the <termio.h> header file.  */
12873448528Smillert /* #undef HAVE_TERMIO_H */
12973448528Smillert 
13073448528Smillert /* Define if you have the <termios.h> header file.  */
13173448528Smillert #define HAVE_TERMIOS_H 1
13273448528Smillert 
13373448528Smillert /* Define if you have the <unistd.h> header file.  */
13473448528Smillert #define HAVE_UNISTD_H 1
13573448528Smillert 
13673448528Smillert /* Define if you have the <varargs.h> header file.  */
13773448528Smillert #define HAVE_VARARGS_H 1
13873448528Smillert 
139*af70c2dfSkettenis /* Define if you have the <wchar.h> header file.  */
140*af70c2dfSkettenis /* #undef HAVE_WCHAR_H */
14173448528Smillert 
142*af70c2dfSkettenis /* Define if you have the <varargs.h> header file.  */
143*af70c2dfSkettenis /* #undef HAVE_WCTYPE_H */
144*af70c2dfSkettenis 
145*af70c2dfSkettenis /* #undef HAVE_MBSTATE_T */
146*af70c2dfSkettenis 
147*af70c2dfSkettenis /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
148*af70c2dfSkettenis /* #undef HAVE_LANGINFO_CODESET */
14973448528Smillert 
15073448528Smillert /* Definitions pulled in from aclocal.m4. */
15173448528Smillert #define VOID_SIGHANDLER 1
15273448528Smillert 
153*af70c2dfSkettenis /* #undef GWINSZ_IN_SYS_IOCTL */
15473448528Smillert 
15573448528Smillert #define STRUCT_WINSIZE_IN_SYS_IOCTL 1
15673448528Smillert 
15773448528Smillert /* #undef STRUCT_WINSIZE_IN_TERMIOS */
15873448528Smillert 
15973448528Smillert #define TIOCSTAT_IN_SYS_IOCTL 1
16073448528Smillert 
16173448528Smillert #define FIONREAD_IN_SYS_IOCTL 1
16273448528Smillert 
16373448528Smillert /* #undef SPEED_T_IN_SYS_TYPES */
16473448528Smillert 
165*af70c2dfSkettenis #define HAVE_GETPW_DECLS 1
16673448528Smillert 
16773448528Smillert #define STRUCT_DIRENT_HAS_D_INO 1
16873448528Smillert 
16973448528Smillert #define STRUCT_DIRENT_HAS_D_FILENO 1
17073448528Smillert 
17173448528Smillert /* #undef HAVE_BSD_SIGNALS */
17273448528Smillert 
17373448528Smillert #define HAVE_POSIX_SIGNALS 1
17473448528Smillert 
17573448528Smillert /* #undef HAVE_USG_SIGHOLD */
17673448528Smillert 
17773448528Smillert /* #undef MUST_REINSTALL_SIGHANDLERS */
17873448528Smillert 
17973448528Smillert #define HAVE_POSIX_SIGSETJMP 1
18073448528Smillert 
18173448528Smillert /* modify settings or make new ones based on what autoconf tells us. */
18273448528Smillert 
18373448528Smillert /* Ultrix botches type-ahead when switching from canonical to
18473448528Smillert    non-canonical mode, at least through version 4.3 */
18573448528Smillert #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
18673448528Smillert #  define TERMIOS_MISSING
18773448528Smillert #endif
18873448528Smillert 
18973448528Smillert #if defined (STRCOLL_BROKEN)
19073448528Smillert #  define HAVE_STRCOLL 1
19173448528Smillert #endif
19273448528Smillert 
19373448528Smillert #if defined (__STDC__) && defined (HAVE_STDARG_H)
19473448528Smillert #  define PREFER_STDARG
19573448528Smillert #  define USE_VARARGS
19673448528Smillert #else
19773448528Smillert #  if defined (HAVE_VARARGS_H)
19873448528Smillert #    define PREFER_VARARGS
19973448528Smillert #    define USE_VARARGS
20073448528Smillert #  endif
20173448528Smillert #endif
202