Mercurial > hg > octave-terminal
changeset 1438:cd2b52fb9019
[project @ 1995-09-19 08:00:23 by jwe]
author | jwe |
---|---|
date | Tue, 19 Sep 1995 08:00:57 +0000 |
parents | dba5dbb3784b |
children | e09cda09e2b8 |
files | readline/Makefile.in readline/bind.c readline/complete.c readline/display.c readline/funmap.c readline/history.c readline/isearch.c readline/keymaps.c readline/parens.c readline/readline.c readline/rltty.c readline/search.c readline/signals.c readline/tilde.c readline/vi_mode.c readline/xmalloc.c |
diffstat | 16 files changed, 71 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -42,7 +42,7 @@ # The header files for this library. HSOURCES = readline.h rldefs.h chardefs.h keymaps.h history.h \ - posixstat.h tilde.h rlconf.h config.h.in acconfig.h + posixstat.h tilde.h rlconf.h config.h.in OBJECTS = readline.o vi_mode.o funmap.o keymaps.o parens.o search.o \ rltty.o complete.o bind.o isearch.o display.o signals.o \
--- a/readline/bind.c +++ b/readline/bind.c @@ -19,6 +19,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #include <stdio.h>
--- a/readline/complete.c +++ b/readline/complete.c @@ -19,12 +19,13 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#define READLINE_LIBRARY -#if defined (HAVE_CONFIG_H) -# include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> #endif +#define READLINE_LIBRARY + #include <stdio.h> #include <sys/types.h> #include <fcntl.h>
--- a/readline/display.c +++ b/readline/display.c @@ -19,12 +19,13 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#define READLINE_LIBRARY -#if defined (HAVE_CONFIG_H) -# include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> #endif +#define READLINE_LIBRARY + #include <stdio.h> #include <sys/types.h>
--- a/readline/funmap.c +++ b/readline/funmap.c @@ -19,6 +19,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #if defined (STATIC_MALLOC)
--- a/readline/history.c +++ b/readline/history.c @@ -23,6 +23,11 @@ /* The goal is to make the implementation transparent, so that you don't have to know what data types are used, just what functions you can call. I think I have done that. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #include <stdio.h>
--- a/readline/isearch.c +++ b/readline/isearch.c @@ -24,6 +24,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #include <stdio.h>
--- a/readline/keymaps.c +++ b/readline/keymaps.c @@ -18,12 +18,13 @@ You should have received a copy of the GNU General Public License along with Readline; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#define READLINE_LIBRARY -#if defined (HAVE_CONFIG_H) -# include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> #endif +#define READLINE_LIBRARY + #if defined (HAVE_STDLIB_H) # include <stdlib.h> #else
--- a/readline/parens.c +++ b/readline/parens.c @@ -19,6 +19,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #include "rlconf.h"
--- a/readline/readline.c +++ b/readline/readline.c @@ -20,6 +20,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #include <stdio.h>
--- a/readline/rltty.c +++ b/readline/rltty.c @@ -20,6 +20,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #if defined (HAVE_CONFIG_H)
--- a/readline/search.c +++ b/readline/search.c @@ -20,6 +20,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #include <sys/types.h>
--- a/readline/signals.c +++ b/readline/signals.c @@ -19,6 +19,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY #include <stdio.h>
--- a/readline/tilde.c +++ b/readline/tilde.c @@ -19,6 +19,10 @@ along with Readline; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #if defined (HAVE_STRING_H) # include <string.h> #else /* !HAVE_STRING_H */
--- a/readline/vi_mode.c +++ b/readline/vi_mode.c @@ -20,6 +20,11 @@ is generally kept in a file called COPYING or LICENSE. If you do not have a copy of the license, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #define READLINE_LIBRARY /* **************************************************************** */
--- a/readline/xmalloc.c +++ b/readline/xmalloc.c @@ -19,6 +19,10 @@ along with Readline; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #if defined (ALREADY_HAVE_XMALLOC) #else #include <stdio.h>