diff options
Diffstat (limited to 'readline/config.h.in')
-rw-r--r-- | readline/config.h.in | 54 |
1 files changed, 14 insertions, 40 deletions
diff --git a/readline/config.h.in b/readline/config.h.in index e5658c2..8560c4b 100644 --- a/readline/config.h.in +++ b/readline/config.h.in @@ -1,21 +1,14 @@ /* config.h.in. Maintained by hand. */ -/* Template definitions for autoconf */ -#undef __EXTENSIONS__ -#undef _ALL_SOURCE -#undef _GNU_SOURCE -#undef _POSIX_SOURCE -#undef _POSIX_1_SOURCE -#undef _POSIX_PTHREAD_SEMANTICS -#undef _TANDEM_SOURCE -#undef _MINIX - /* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte characters, even if the OS supports them. */ #undef NO_MULTIBYTE_SUPPORT #undef _FILE_OFFSET_BITS +/* Define if on MINIX. */ +#undef _MINIX + /* Define as the return type of signal handlers (int or void). */ #undef RETSIGTYPE @@ -33,16 +26,12 @@ #undef volatile #undef PROTOTYPES -#undef __PROTOTYPES #undef __CHAR_UNSIGNED__ /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ #undef STAT_MACROS_BROKEN -/* Define if you have the chown function. */ -#undef HAVE_CHOWN - /* Define if you have the fcntl function. */ #undef HAVE_FCNTL @@ -88,15 +77,9 @@ /* Define if you have the memmove function. */ #undef HAVE_MEMMOVE -/* Define if you have the pselect function. */ -#undef HAVE_PSELECT - /* Define if you have the putenv function. */ #undef HAVE_PUTENV -/* Define if you have the readlink function. */ -#undef HAVE_READLINK - /* Define if you have the select function. */ #undef HAVE_SELECT @@ -141,9 +124,6 @@ /* Define if you have the wcwidth function. */ #undef HAVE_WCWIDTH -/* and whether it works */ -#undef WCWIDTH_BROKEN - #undef STDC_HEADERS /* Define if you have the <dirent.h> header file. */ @@ -167,18 +147,12 @@ /* Define if you have the <ndir.h> header file. */ #undef HAVE_NDIR_H -/* Define if you have the <ncurses/termcap.h> header file. */ -#undef HAVE_NCURSES_TERMCAP_H - /* Define if you have the <pwd.h> header file. */ #undef HAVE_PWD_H /* Define if you have the <stdarg.h> header file. */ #undef HAVE_STDARG_H -/* Define if you have the <stdbool.h> header file. */ -#undef HAVE_STDBOOL_H - /* Define if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H @@ -194,9 +168,6 @@ /* Define if you have the <sys/file.h> header file. */ #undef HAVE_SYS_FILE_H -/* Define if you have the <sys/ioctl.h> header file. */ -#undef HAVE_SYS_IOCTL_H - /* Define if you have the <sys/ndir.h> header file. */ #undef HAVE_SYS_NDIR_H @@ -247,9 +218,6 @@ /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ #undef HAVE_LANGINFO_CODESET -/* Define if you have <linux/audit.h> and it defines AUDIT_USER_TTY */ -#undef HAVE_DECL_AUDIT_USER_TTY - /* Definitions pulled in from aclocal.m4. */ #undef VOID_SIGHANDLER @@ -267,11 +235,9 @@ #undef HAVE_GETPW_DECLS -#undef HAVE_STRUCT_DIRENT_D_INO - -#undef HAVE_STRUCT_DIRENT_D_FILENO +#undef STRUCT_DIRENT_HAS_D_INO -#undef HAVE_STRUCT_DIRENT_D_NAMLEN +#undef STRUCT_DIRENT_HAS_D_FILENO #undef HAVE_BSD_SIGNALS @@ -293,4 +259,12 @@ # define TERMIOS_MISSING #endif -/* VARARGS defines moved to rlstdc.h */ +#if defined (__STDC__) && defined (HAVE_STDARG_H) +# define PREFER_STDARG +# define USE_VARARGS +#else +# if defined (HAVE_VARARGS_H) +# define PREFER_VARARGS +# define USE_VARARGS +# endif +#endif |