diff options
author | Patrick Palka <patrick@parcs.ath.cx> | 2015-07-25 15:41:05 -0400 |
---|---|---|
committer | Patrick Palka <patrick@parcs.ath.cx> | 2015-07-25 15:57:00 -0400 |
commit | 5836a818eccb180d75c92ce4c861abb6fe8dec23 (patch) | |
tree | 624044ca5df5a6c192e47933a735ab4fe9aaea71 /readline/config.h.in | |
parent | b8cc7b2e9afab37eb9a7cff0d3ae4ebbcf7d494f (diff) | |
download | gdb-5836a818eccb180d75c92ce4c861abb6fe8dec23.zip gdb-5836a818eccb180d75c92ce4c861abb6fe8dec23.tar.gz gdb-5836a818eccb180d75c92ce4c861abb6fe8dec23.tar.bz2 |
Revert "Sync readline/ to version 7.0 alpha"
This reverts commit b558ff043d41ba8d17a82f5f9ae5f9dade66160e.
This reverts commit 4a11f2065906976675808364ddbd1c0f77eea41f.
The initial import commit failed to retain local changes made to
readline's configure.in (and the commit message erroneously stated that
there were no local changes that needed to be reapplied). Also the
import caused a couple of build errors and a scattering of testsuite
regressions throughout many arches. It's probably better to start over
with this import, hopefully more carefully next time.
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 |