diff options
author | ache <ache@FreeBSD.org> | 1997-06-07 13:18:30 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-06-07 13:18:30 +0000 |
commit | 996854ba0444403ae99e8def20c1cb75cf05205e (patch) | |
tree | 94c13473968c5914a0cdc6f0eeb01ed56578f13b /gnu/lib | |
parent | e7547ae335a16a0a37199b30c5c9157075c66502 (diff) | |
download | FreeBSD-src-996854ba0444403ae99e8def20c1cb75cf05205e.zip FreeBSD-src-996854ba0444403ae99e8def20c1cb75cf05205e.tar.gz |
Upgrade to 2.1
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libreadline/Makefile | 8 | ||||
-rw-r--r-- | gnu/lib/libreadline/config.h | 157 |
2 files changed, 144 insertions, 21 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile index 0b00f0b..3630ab4 100644 --- a/gnu/lib/libreadline/Makefile +++ b/gnu/lib/libreadline/Makefile @@ -1,4 +1,4 @@ -# $Id$ +# $Id: Makefile,v 1.28 1997/02/22 15:43:04 peter Exp $ SRCDIR= ${.CURDIR}/../../../contrib/libreadline .PATH: ${SRCDIR} @@ -10,9 +10,11 @@ SHLIB_MAJOR= 3 SHLIB_MINOR= 0 MAN3= readline.3 -CFLAGS+= -I${.CURDIR} -I${SRCDIR} -DHAVE_CONFIG_H +RL_LIBRARY_VERSION = 2.1 +LOCAL_CFLAGS= -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"' +CFLAGS+= -I${.CURDIR} -I${SRCDIR} -DHAVE_CONFIG_H ${LOCAL_CFLAGS} -HISTSRC= history.c histexpand.c histfile.c histsearch.c +HISTSRC= history.c histexpand.c histfile.c histsearch.c shell.c TILDESRC= tilde.c SRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \ rltty.c complete.c bind.c isearch.c display.c signals.c \ diff --git a/gnu/lib/libreadline/config.h b/gnu/lib/libreadline/config.h index 6b80cb5..08f4a0e 100644 --- a/gnu/lib/libreadline/config.h +++ b/gnu/lib/libreadline/config.h @@ -1,18 +1,139 @@ -#define FIONREAD_IN_SYS_IOCTL -#define GWINSZ_IN_SYS_IOCTL -#define HAVE_DIRENT_H -#define HAVE_GETPW_DECLS -#define HAVE_LOCALE_H -#define HAVE_POSIX_SIGNALS -#define HAVE_PUTENV -#define HAVE_SELECT -#define HAVE_SETLOCALE -#define HAVE_STDLIB_H -#define HAVE_STRCASECMP -#define HAVE_STRCOLL -#define HAVE_STRING_H -#define HAVE_TERMCAP_H -#define HAVE_UNISTD_H -#define PREFER_STDARG -#define USE_VARARGS -#define VOID_SIGHANDLER +/* config.h. Generated automatically by configure. */ +/* config.h.in. Generated automatically from configure.in by autoheader. */ + +/* Define as the return type of signal handlers (int or void). */ +#define RETSIGTYPE void + +/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ +/* #undef STAT_MACROS_BROKEN */ + +#define VOID_SIGHANDLER 1 + +/* Define if you have the lstat function. */ +#define HAVE_LSTAT 1 + +/* Define if you have the putenv function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the select function. */ +#define HAVE_SELECT 1 + +/* Define if you have the setenv function. */ +#define HAVE_SETENV 1 + +/* Define if you have the strcasecmp function. */ +#define HAVE_STRCASECMP 1 + +/* Define if you have the setlocale function. */ +#define HAVE_SETLOCALE 1 + +/* Define if you have the tcgetattr function. */ +#define HAVE_TCGETATTR 1 + +/* Define if you have the strcoll function. */ +#define HAVE_STRCOLL 1 + +/* #undef STRCOLL_BROKEN */ + +/* Define if you have the <dirent.h> header file. */ +#define HAVE_DIRENT_H 1 + +/* Define if you have the <ndir.h> header file. */ +/* #undef HAVE_NDIR_H */ + +/* Define if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the <sys/dir.h> header file. */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define if you have the <sys/file.h> header file. */ +#define HAVE_SYS_FILE_H 1 + +/* Define if you have the <sys/ndir.h> header file. */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define if you have the <sys/pte.h> header file. */ +/* #undef HAVE_SYS_PTE_H */ + +/* Define if you have the <sys/ptem.h> header file. */ +/* #undef HAVE_SYS_PTEM_H */ + +/* Define if you have the <sys/select.h> header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define if you have the <sys/stream.h> header file. */ +/* #undef HAVE_SYS_STREAM_H */ + +/* Define if you have the <termcap.h> header file. */ +#define HAVE_TERMCAP_H 1 + +/* Define if you have the <termio.h> header file. */ +/* #undef HAVE_TERMIO_H */ + +/* Define if you have the <termios.h> header file. */ +#define HAVE_TERMIOS_H 1 + +/* Define if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the <varargs.h> header file. */ +#define HAVE_VARARGS_H 1 + +/* Define if you have the <stdarg.h> header file. */ +#define HAVE_STDARG_H 1 + +#define HAVE_LOCALE_H 1 + +/* Definitions pulled in from aclocal.m4. */ +#define VOID_SIGHANDLER 1 + +#define GWINSZ_IN_SYS_IOCTL 1 + +#define TIOCSTAT_IN_SYS_IOCTL 1 + +#define FIONREAD_IN_SYS_IOCTL 1 + +/* #undef SPEED_T_IN_SYS_TYPES */ + +#define HAVE_GETPW_DECLS 1 + +#define STRUCT_DIRENT_HAS_D_INO 1 + +#define STRUCT_DIRENT_HAS_D_FILENO 1 + +/* #undef HAVE_BSD_SIGNALS */ + +#define HAVE_POSIX_SIGNALS 1 + +/* #undef HAVE_USG_SIGHOLD */ + +/* #undef MUST_REINSTALL_SIGHANDLERS */ + +#define HAVE_POSIX_SIGSETJMP 1 + +/* config.h.bot */ +/* modify settings or make new ones based on what autoconf tells us. */ + +/* Ultrix botches type-ahead when switching from canonical to + non-canonical mode, at least through version 4.3 */ +#if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix) +# define TERMIOS_MISSING +#endif + +#if defined (STRCOLL_BROKEN) +# define HAVE_STRCOLL 1 +#endif + +#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 |