1 /* $FreeBSD: src/gnu/lib/libreadline/config.h,v 1.4.6.1 2000/07/06 23:11:07 ache Exp $ */
2 /* config.h. Generated automatically by configure. */
3 /* config.h.in. Generated automatically from configure.in by autoheader. */
5 /* Define if on MINIX. */
8 /* Define as the return type of signal handlers (int or void). */
9 #define RETSIGTYPE void
11 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
12 /* #undef STAT_MACROS_BROKEN */
14 #define VOID_SIGHANDLER 1
16 /* Define if you have the lstat function. */
19 /* Define if you have the memmove function. */
20 #define HAVE_MEMMOVE 1
22 /* Define if you have the putenv function. */
25 /* Define if you have the select function. */
28 /* Define if you have the setenv function. */
31 /* Define if you have the strcasecmp function. */
32 #define HAVE_STRCASECMP 1
34 /* Define if you have the setlocale function. */
35 #define HAVE_SETLOCALE 1
37 /* Define if you have the tcgetattr function. */
38 #define HAVE_TCGETATTR 1
40 /* Define if you have the strcoll function. */
41 #define HAVE_STRCOLL 1
43 /* #undef STRCOLL_BROKEN */
45 /* Define if you have the <dirent.h> header file. */
46 #define HAVE_DIRENT_H 1
48 /* Define if you have the <ndir.h> header file. */
49 /* #undef HAVE_NDIR_H */
51 /* Define if you have the <stdlib.h> header file. */
52 #define HAVE_STDLIB_H 1
54 /* Define if you have the <string.h> header file. */
55 #define HAVE_STRING_H 1
57 /* Define if you have the <sys/dir.h> header file. */
58 /* #undef HAVE_SYS_DIR_H */
60 /* Define if you have the <sys/file.h> header file. */
61 #define HAVE_SYS_FILE_H 1
63 /* Define if you have the <sys/ndir.h> header file. */
64 /* #undef HAVE_SYS_NDIR_H */
66 /* Define if you have the <sys/pte.h> header file. */
67 /* #undef HAVE_SYS_PTE_H */
69 /* Define if you have the <sys/ptem.h> header file. */
70 /* #undef HAVE_SYS_PTEM_H */
72 /* Define if you have the <sys/select.h> header file. */
73 #define HAVE_SYS_SELECT_H 1
75 /* Define if you have the <sys/stream.h> header file. */
76 /* #undef HAVE_SYS_STREAM_H */
78 /* Define if you have the <termcap.h> header file. */
79 #define HAVE_TERMCAP_H 1
81 /* Define if you have the <termio.h> header file. */
82 /* #undef HAVE_TERMIO_H */
84 /* Define if you have the <termios.h> header file. */
85 #define HAVE_TERMIOS_H 1
87 /* Define if you have the <unistd.h> header file. */
88 #define HAVE_UNISTD_H 1
90 /* Define if you have the <varargs.h> header file. */
91 #define HAVE_VARARGS_H 1
93 /* Define if you have the <stdarg.h> header file. */
94 #define HAVE_STDARG_H 1
96 #define HAVE_LOCALE_H 1
98 /* Definitions pulled in from aclocal.m4. */
99 #define VOID_SIGHANDLER 1
101 #define GWINSZ_IN_SYS_IOCTL 1
103 #define STRUCT_WINSIZE_IN_SYS_IOCTL 1
105 /* #undef STRUCT_WINSIZE_IN_TERMIOS */
107 #define TIOCSTAT_IN_SYS_IOCTL 1
109 #define FIONREAD_IN_SYS_IOCTL 1
111 /* #undef SPEED_T_IN_SYS_TYPES */
113 #define HAVE_GETPW_DECLS 1
115 #define STRUCT_DIRENT_HAS_D_INO 1
117 #define STRUCT_DIRENT_HAS_D_FILENO 1
119 /* #undef HAVE_BSD_SIGNALS */
121 #define HAVE_POSIX_SIGNALS 1
123 /* #undef HAVE_USG_SIGHOLD */
125 /* #undef MUST_REINSTALL_SIGHANDLERS */
127 #define HAVE_POSIX_SIGSETJMP 1
130 /* modify settings or make new ones based on what autoconf tells us. */
132 /* Ultrix botches type-ahead when switching from canonical to
133 non-canonical mode, at least through version 4.3 */
134 #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
135 # define TERMIOS_MISSING
138 #if defined (STRCOLL_BROKEN)
139 # define HAVE_STRCOLL 1
142 #if defined (__STDC__) && defined (HAVE_STDARG_H)
143 # define PREFER_STDARG
146 # if defined (HAVE_VARARGS_H)
147 # define PREFER_VARARGS