aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2018-02-06 12:22:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2018-02-06 12:22:42 +0000
commit8134347f262dfea11b64a46c54fdf55adbb8445a (patch)
tree646ac03d91d3852a87326fd04b8cf06158fac118 /gnu
parent0b0d7292372ffa26df00d65db5a7f484edc66640 (diff)
downloadsrc-8134347f262dfea11b64a46c54fdf55adbb8445a.tar.gz
src-8134347f262dfea11b64a46c54fdf55adbb8445a.zip
Remove libreadline from the source tree, all consumers but gdb
has been switched to libedit long ago, libreadline was built as an internallib for a while and kept only for gdbtui which was broken using libreadline. Since gdb has been mostly deorbitted in all arches, gdbtui was only installed on arm and sparc64, given it has been removed, gdb has been switched to use libedit, no consumers are left for libreadline. Thus this removal
Notes
Notes: svn path=/head/; revision=328928
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/Makefile1
-rw-r--r--gnu/lib/libreadline/Makefile5
-rw-r--r--gnu/lib/libreadline/Makefile.inc14
-rw-r--r--gnu/lib/libreadline/config.h270
-rw-r--r--gnu/lib/libreadline/readline/Makefile29
-rw-r--r--gnu/lib/libreadline/readline/Makefile.depend14
6 files changed, 0 insertions, 333 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 6112624560de..5daba7518af0 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -7,7 +7,6 @@ SUBDIR.${MK_DIALOG}+= libdialog
SUBDIR.${MK_GCC}+= libgcov libgomp
SUBDIR.${MK_SSP}+= libssp
SUBDIR.${MK_TESTS}+= tests
-SUBDIR.${MK_GDB}+= libreadline
.if ${MK_GNU_GREP} != "no" || ${MK_GNU_GREP_COMPAT} != "no" || \
${MK_GDB} != "no"
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile
deleted file mode 100644
index c2bfa6697312..000000000000
--- a/gnu/lib/libreadline/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-# $FreeBSD$
-
-SUBDIR = readline
-
-.include <bsd.subdir.mk>
diff --git a/gnu/lib/libreadline/Makefile.inc b/gnu/lib/libreadline/Makefile.inc
deleted file mode 100644
index a25615429a20..000000000000
--- a/gnu/lib/libreadline/Makefile.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-# $FreeBSD$
-
-SHLIB_MAJOR=8
-RL_LIBRARY_VERSION=5.2
-
-SRCDIR= ${SRCTOP}/contrib/libreadline
-.PATH: ${SRCDIR} ${.CURDIR}/..
-
-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 shell.c mbutil.c
-
-.include "../Makefile.inc"
diff --git a/gnu/lib/libreadline/config.h b/gnu/lib/libreadline/config.h
deleted file mode 100644
index c13b50c26d39..000000000000
--- a/gnu/lib/libreadline/config.h
+++ /dev/null
@@ -1,270 +0,0 @@
-/* $FreeBSD$ */
-/* config.h. Generated by configure. */
-/* config.h.in. Maintained by hand. */
-
-/* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte
- characters, even if the OS supports them. */
-/* #undef NO_MULTIBYTE_SUPPORT */
-
-/* Define if on MINIX. */
-/* #undef _MINIX */
-
-/* Define as the return type of signal handlers (int or void). */
-#define RETSIGTYPE void
-
-#define VOID_SIGHANDLER 1
-
-/* Characteristics of the compiler. */
-/* #undef const */
-
-/* #undef size_t */
-
-/* #undef ssize_t */
-
-#define PROTOTYPES 1
-
-/* #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 fcntl function. */
-#define HAVE_FCNTL 1
-
-/* Define if you have the getpwent function. */
-#define HAVE_GETPWENT 1
-
-/* Define if you have the getpwnam function. */
-#define HAVE_GETPWNAM 1
-
-/* Define if you have the getpwuid function. */
-#define HAVE_GETPWUID 1
-
-/* Define if you have the isascii function. */
-#define HAVE_ISASCII 1
-
-/* Define if you have the iswctype function. */
-#define HAVE_ISWCTYPE 1
-
-/* Define if you have the iswlower function. */
-#define HAVE_ISWLOWER 1
-
-/* Define if you have the iswupper function. */
-#define HAVE_ISWUPPER 1
-
-/* Define if you have the isxdigit function. */
-#define HAVE_ISXDIGIT 1
-
-/* Define if you have the kill function. */
-#define HAVE_KILL 1
-
-/* Define if you have the lstat function. */
-#define HAVE_LSTAT 1
-
-/* Define if you have the mbrlen function. */
-#define HAVE_MBRLEN 1
-
-/* Define if you have the mbrtowc function. */
-#define HAVE_MBRTOWC 1
-
-/* Define if you have the mbsrtowcs function. */
-#define HAVE_MBSRTOWCS 1
-
-/* Define if you have the memmove function. */
-#define HAVE_MEMMOVE 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 setlocale function. */
-#define HAVE_SETLOCALE 1
-
-/* Define if you have the strcasecmp function. */
-#define HAVE_STRCASECMP 1
-
-/* Define if you have the strcoll function. */
-#define HAVE_STRCOLL 1
-
-/* #undef STRCOLL_BROKEN */
-
-/* Define if you have the strpbrk function. */
-#define HAVE_STRPBRK 1
-
-/* Define if you have the tcgetattr function. */
-#define HAVE_TCGETATTR 1
-
-/* Define if you have the towlower function. */
-#define HAVE_TOWLOWER 1
-
-/* Define if you have the towupper function. */
-#define HAVE_TOWUPPER 1
-
-/* Define if you have the vsnprintf function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define if you have the wcrtomb function. */
-#define HAVE_WCRTOMB 1
-
-/* Define if you have the wcscoll function. */
-#define HAVE_WCSCOLL 1
-
-/* Define if you have the wctype function. */
-#define HAVE_WCTYPE 1
-
-/* Define if you have the wcwidth function. */
-#define HAVE_WCWIDTH 1
-
-#define STDC_HEADERS 1
-
-/* Define if you have the <dirent.h> header file. */
-#define HAVE_DIRENT_H 1
-
-/* Define if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 1
-
-/* Define if you have the <langinfo.h> header file. */
-#define HAVE_LANGINFO_H 1
-
-/* Define if you have the <limits.h> header file. */
-#define HAVE_LIMITS_H 1
-
-/* Define if you have the <locale.h> header file. */
-#define HAVE_LOCALE_H 1
-
-/* Define if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define if you have the <ndir.h> header file. */
-/* #undef HAVE_NDIR_H */
-
-/* Define if you have the <pwd.h> header file. */
-#define HAVE_PWD_H 1
-
-/* Define if you have the <stdarg.h> header file. */
-#define HAVE_STDARG_H 1
-
-/* 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 <strings.h> header file. */
-#define HAVE_STRINGS_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. */
-/* #undef HAVE_VARARGS_H */
-
-/* Define if you have the <wchar.h> header file. */
-#define HAVE_WCHAR_H 1
-
-/* Define if you have the <wctype.h> header file. */
-#define HAVE_WCTYPE_H 1
-
-#define HAVE_MBSTATE_T 1
-
-/* Define if you have wchar_t in <wctype.h>. */
-#define HAVE_WCHAR_T 1
-
-/* Define if you have wctype_t in <wctype.h>. */
-#define HAVE_WCTYPE_T 1
-
-/* Define if you have wint_t in <wctype.h>. */
-#define HAVE_WINT_T 1
-
-/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
-#define HAVE_LANGINFO_CODESET 1
-
-/* Definitions pulled in from aclocal.m4. */
-#define VOID_SIGHANDLER 1
-
-/* #undef GWINSZ_IN_SYS_IOCTL */
-
-#define STRUCT_WINSIZE_IN_SYS_IOCTL 1
-
-/* #undef STRUCT_WINSIZE_IN_TERMIOS */
-
-#define TIOCSTAT_IN_SYS_IOCTL 1
-
-#define FIONREAD_IN_SYS_IOCTL 1
-
-/* #undef SPEED_T_IN_SYS_TYPES */
-
-#define HAVE_GETPW_DECLS 1
-
-/* #undef STRUCT_DIRENT_HAS_D_INO */
-
-/* #undef STRUCT_DIRENT_HAS_D_FILENO */
-
-/* #undef HAVE_BSD_SIGNALS */
-
-#define HAVE_POSIX_SIGNALS 1
-
-/* #undef HAVE_USG_SIGHOLD */
-
-/* #undef MUST_REINSTALL_SIGHANDLERS */
-
-#define HAVE_POSIX_SIGSETJMP 1
-
-#define CTYPE_NON_ASCII 1
-
-/* 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
diff --git a/gnu/lib/libreadline/readline/Makefile b/gnu/lib/libreadline/readline/Makefile
deleted file mode 100644
index 1947b3e0bef4..000000000000
--- a/gnu/lib/libreadline/readline/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $FreeBSD$
-
-LIB= readline
-INTERNALLIB= yes
-MAN=
-
-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 \
- util.c kill.c undo.c macro.c input.c callback.c terminal.c \
- text.c nls.c misc.c compat.c xmalloc.c $(HISTSRC) $(TILDESRC)
-
-INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
- rlstdc.h rlconf.h rltypedefs.h
-
-CFLAGS+= -I${.OBJDIR}/..
-SRCDIR= ${.CURDIR}/../../../../contrib/libreadline
-
-CLEANFILES+= ${INSTALLED_HEADERS}
-SRCS+= ${INSTALLED_HEADERS}
-
-.for _h in ${INSTALLED_HEADERS}
-${_h}: ${SRCDIR}/${_h} .NOMETA
- ln -sf ${.ALLSRC} ${.TARGET}
-.endfor
-
-LIBADD= ncursesw
-
-.include <bsd.lib.mk>
diff --git a/gnu/lib/libreadline/readline/Makefile.depend b/gnu/lib/libreadline/readline/Makefile.depend
deleted file mode 100644
index c9f2b8cbda62..000000000000
--- a/gnu/lib/libreadline/readline/Makefile.depend
+++ /dev/null
@@ -1,14 +0,0 @@
-# $FreeBSD$
-# Autogenerated - do NOT edit!
-
-DIRDEPS = \
- include \
- include/xlocale \
- lib/ncurses/ncursesw \
-
-
-.include <dirdeps.mk>
-
-.if ${DEP_RELDIR} == ${_DEP_RELDIR}
-# local dependencies - needed for -jN in clean tree
-.endif