config.h revision 157190
158315Sache/* $FreeBSD: head/gnu/lib/libreadline/config.h 157190 2006-03-27 23:35:05Z ache $ */ 2136653Sache/* config.h. Generated by configure. */ 3119616Sache/* config.h.in. Maintained by hand. */ 426501Sache 5136653Sache/* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte 6136653Sache characters, even if the OS supports them. */ 7136653Sache/* #undef NO_MULTIBYTE_SUPPORT */ 8136653Sache 935492Sache/* Define if on MINIX. */ 1035492Sache/* #undef _MINIX */ 1135492Sache 1226501Sache/* Define as the return type of signal handlers (int or void). */ 1326501Sache#define RETSIGTYPE void 1426501Sache 15136653Sache#define VOID_SIGHANDLER 1 16136653Sache 17119616Sache/* Characteristics of the compiler. */ 18119616Sache/* #undef const */ 19119616Sache 20119616Sache/* #undef size_t */ 21119616Sache 22119616Sache/* #undef ssize_t */ 23119616Sache 24119616Sache#define PROTOTYPES 1 25119616Sache 26119616Sache/* #undef __CHAR_UNSIGNED__ */ 27119616Sache 2826501Sache/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 2926501Sache/* #undef STAT_MACROS_BROKEN */ 3026501Sache 31157190Sache/* Define if you have the fcntl function. */ 32157190Sache#define HAVE_FCNTL 1 33157190Sache 34157190Sache/* Define if you have the getpwent function. */ 35157190Sache#define HAVE_GETPWENT 1 36157190Sache 37157190Sache/* Define if you have the getpwnam function. */ 38157190Sache#define HAVE_GETPWNAM 1 39157190Sache 40157190Sache/* Define if you have the getpwuid function. */ 41157190Sache#define HAVE_GETPWUID 1 42157190Sache 43119616Sache/* Define if you have the isascii function. */ 44119616Sache#define HAVE_ISASCII 1 45119616Sache 46119616Sache/* Define if you have the isxdigit function. */ 47119616Sache#define HAVE_ISXDIGIT 1 48119616Sache 49157190Sache/* Define if you have the kill function. */ 50157190Sache#define HAVE_KILL 1 51157190Sache 5226501Sache/* Define if you have the lstat function. */ 5326501Sache#define HAVE_LSTAT 1 5426501Sache 55136653Sache/* Define if you have the mbrlen function. */ 56136653Sache#define HAVE_MBRLEN 1 57136653Sache 58136653Sache/* Define if you have the mbrtowc function. */ 59136653Sache#define HAVE_MBRTOWC 1 60136653Sache 61119616Sache/* Define if you have the mbsrtowcs function. */ 62119616Sache#define HAVE_MBSRTOWCS 1 63119616Sache 6458315Sache/* Define if you have the memmove function. */ 6558315Sache#define HAVE_MEMMOVE 1 6658315Sache 6726501Sache/* Define if you have the putenv function. */ 6826501Sache#define HAVE_PUTENV 1 6926501Sache 7026501Sache/* Define if you have the select function. */ 7126501Sache#define HAVE_SELECT 1 7226501Sache 7326501Sache/* Define if you have the setenv function. */ 7426501Sache#define HAVE_SETENV 1 7526501Sache 7626501Sache/* Define if you have the setlocale function. */ 7726501Sache#define HAVE_SETLOCALE 1 7826501Sache 79119616Sache/* Define if you have the strcasecmp function. */ 80119616Sache#define HAVE_STRCASECMP 1 8126501Sache 8226501Sache/* Define if you have the strcoll function. */ 8326501Sache#define HAVE_STRCOLL 1 8426501Sache 8526501Sache/* #undef STRCOLL_BROKEN */ 8626501Sache 87119616Sache/* Define if you have the strpbrk function. */ 88119616Sache#define HAVE_STRPBRK 1 89119616Sache 90119616Sache/* Define if you have the tcgetattr function. */ 91119616Sache#define HAVE_TCGETATTR 1 92119616Sache 93119616Sache/* Define if you have the vsnprintf function. */ 94119616Sache#define HAVE_VSNPRINTF 1 95119616Sache 96136653Sache/* Define if you have the wctomb function. */ 97136653Sache#define HAVE_WCTOMB 1 98136653Sache 99119616Sache/* Define if you have the wcwidth function. */ 100119616Sache#define HAVE_WCWIDTH 1 101119616Sache 102136653Sache#define STDC_HEADERS 1 103136653Sache 10426501Sache/* Define if you have the <dirent.h> header file. */ 10526501Sache#define HAVE_DIRENT_H 1 10626501Sache 107157190Sache/* Define if you have the <fcntl.h> header file. */ 108157190Sache#define HAVE_FCNTL_H 1 109157190Sache 110119616Sache/* Define if you have the <langinfo.h> header file. */ 111119616Sache#define HAVE_LANGINFO_H 1 112119616Sache 113119616Sache/* Define if you have the <limits.h> header file. */ 114119616Sache#define HAVE_LIMITS_H 1 115119616Sache 116119616Sache/* Define if you have the <locale.h> header file. */ 117119616Sache#define HAVE_LOCALE_H 1 118119616Sache 119119616Sache/* Define if you have the <memory.h> header file. */ 120119616Sache#define HAVE_MEMORY_H 1 121119616Sache 12226501Sache/* Define if you have the <ndir.h> header file. */ 12326501Sache/* #undef HAVE_NDIR_H */ 12426501Sache 125157190Sache/* Define if you have the <pwd.h> header file. */ 126157190Sache#define HAVE_PWD_H 1 127157190Sache 128119616Sache/* Define if you have the <stdarg.h> header file. */ 129119616Sache#define HAVE_STDARG_H 1 130119616Sache 13126501Sache/* Define if you have the <stdlib.h> header file. */ 13226501Sache#define HAVE_STDLIB_H 1 13326501Sache 13426501Sache/* Define if you have the <string.h> header file. */ 13526501Sache#define HAVE_STRING_H 1 13626501Sache 137119616Sache/* Define if you have the <strings.h> header file. */ 138119616Sache#define HAVE_STRINGS_H 1 139119616Sache 14026501Sache/* Define if you have the <sys/dir.h> header file. */ 14126501Sache/* #undef HAVE_SYS_DIR_H */ 14226501Sache 14326501Sache/* Define if you have the <sys/file.h> header file. */ 14426501Sache#define HAVE_SYS_FILE_H 1 14526501Sache 14626501Sache/* Define if you have the <sys/ndir.h> header file. */ 14726501Sache/* #undef HAVE_SYS_NDIR_H */ 14826501Sache 14926501Sache/* Define if you have the <sys/pte.h> header file. */ 15026501Sache/* #undef HAVE_SYS_PTE_H */ 15126501Sache 15226501Sache/* Define if you have the <sys/ptem.h> header file. */ 15326501Sache/* #undef HAVE_SYS_PTEM_H */ 15426501Sache 15526501Sache/* Define if you have the <sys/select.h> header file. */ 15626501Sache#define HAVE_SYS_SELECT_H 1 15726501Sache 15826501Sache/* Define if you have the <sys/stream.h> header file. */ 15926501Sache/* #undef HAVE_SYS_STREAM_H */ 16026501Sache 16126501Sache/* Define if you have the <termcap.h> header file. */ 16226501Sache#define HAVE_TERMCAP_H 1 16326501Sache 16426501Sache/* Define if you have the <termio.h> header file. */ 16526501Sache/* #undef HAVE_TERMIO_H */ 16626501Sache 16726501Sache/* Define if you have the <termios.h> header file. */ 16826501Sache#define HAVE_TERMIOS_H 1 16926501Sache 17026501Sache/* Define if you have the <unistd.h> header file. */ 17126501Sache#define HAVE_UNISTD_H 1 17226501Sache 17326501Sache/* Define if you have the <varargs.h> header file. */ 174136653Sache/* #undef HAVE_VARARGS_H */ 17526501Sache 176119616Sache/* Define if you have the <wchar.h> header file. */ 177119616Sache#define HAVE_WCHAR_H 1 17826501Sache 179119616Sache/* Define if you have the <varargs.h> header file. */ 180119616Sache#define HAVE_WCTYPE_H 1 18126501Sache 182119616Sache#define HAVE_MBSTATE_T 1 183119616Sache 184119616Sache/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 185119616Sache#define HAVE_LANGINFO_CODESET 1 186119616Sache 18726501Sache/* Definitions pulled in from aclocal.m4. */ 18826501Sache#define VOID_SIGHANDLER 1 18926501Sache 190119616Sache/* #undef GWINSZ_IN_SYS_IOCTL */ 19126501Sache 19235492Sache#define STRUCT_WINSIZE_IN_SYS_IOCTL 1 19335492Sache 19435492Sache/* #undef STRUCT_WINSIZE_IN_TERMIOS */ 19535492Sache 19626501Sache#define TIOCSTAT_IN_SYS_IOCTL 1 19726501Sache 19826501Sache#define FIONREAD_IN_SYS_IOCTL 1 19926501Sache 20026501Sache/* #undef SPEED_T_IN_SYS_TYPES */ 20126501Sache 20226501Sache#define HAVE_GETPW_DECLS 1 20326501Sache 204136653Sache/* #undef STRUCT_DIRENT_HAS_D_INO */ 20526501Sache 206136653Sache/* #undef STRUCT_DIRENT_HAS_D_FILENO */ 20726501Sache 20826501Sache/* #undef HAVE_BSD_SIGNALS */ 20926501Sache 21026501Sache#define HAVE_POSIX_SIGNALS 1 21126501Sache 21226501Sache/* #undef HAVE_USG_SIGHOLD */ 21326501Sache 21426501Sache/* #undef MUST_REINSTALL_SIGHANDLERS */ 21526501Sache 21626501Sache#define HAVE_POSIX_SIGSETJMP 1 21726501Sache 218136653Sache#define CTYPE_NON_ASCII 1 219136653Sache 22026501Sache/* modify settings or make new ones based on what autoconf tells us. */ 22126501Sache 22226501Sache/* Ultrix botches type-ahead when switching from canonical to 22326501Sache non-canonical mode, at least through version 4.3 */ 22426501Sache#if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix) 22526501Sache# define TERMIOS_MISSING 22626501Sache#endif 22726501Sache 22826501Sache#if defined (STRCOLL_BROKEN) 22926501Sache# define HAVE_STRCOLL 1 23026501Sache#endif 23126501Sache 23226501Sache#if defined (__STDC__) && defined (HAVE_STDARG_H) 23326501Sache# define PREFER_STDARG 23426501Sache# define USE_VARARGS 23526501Sache#else 23626501Sache# if defined (HAVE_VARARGS_H) 23726501Sache# define PREFER_VARARGS 23826501Sache# define USE_VARARGS 23926501Sache# endif 24026501Sache#endif 241