# HG changeset patch # User jwe # Date 811497657 0 # Node ID cd2b52fb9019ec47a0f8f0e21c17408b502934d2 # Parent dba5dbb3784b15bfe343286ca9a2aafc863851ed [project @ 1995-09-19 08:00:23 by jwe] diff --git a/readline/Makefile.in b/readline/Makefile.in --- 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 \ diff --git a/readline/bind.c b/readline/bind.c --- 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 +#endif + #define READLINE_LIBRARY #include diff --git a/readline/complete.c b/readline/complete.c --- 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 #endif +#define READLINE_LIBRARY + #include #include #include diff --git a/readline/display.c b/readline/display.c --- 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 #endif +#define READLINE_LIBRARY + #include #include diff --git a/readline/funmap.c b/readline/funmap.c --- 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 +#endif + #define READLINE_LIBRARY #if defined (STATIC_MALLOC) diff --git a/readline/history.c b/readline/history.c --- 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 +#endif + #define READLINE_LIBRARY #include diff --git a/readline/isearch.c b/readline/isearch.c --- 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 +#endif + #define READLINE_LIBRARY #include diff --git a/readline/keymaps.c b/readline/keymaps.c --- 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 #endif +#define READLINE_LIBRARY + #if defined (HAVE_STDLIB_H) # include #else diff --git a/readline/parens.c b/readline/parens.c --- 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 +#endif + #define READLINE_LIBRARY #include "rlconf.h" diff --git a/readline/readline.c b/readline/readline.c --- 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 +#endif + #define READLINE_LIBRARY #include diff --git a/readline/rltty.c b/readline/rltty.c --- 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 +#endif + #define READLINE_LIBRARY #if defined (HAVE_CONFIG_H) diff --git a/readline/search.c b/readline/search.c --- 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 +#endif + #define READLINE_LIBRARY #include diff --git a/readline/signals.c b/readline/signals.c --- 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 +#endif + #define READLINE_LIBRARY #include diff --git a/readline/tilde.c b/readline/tilde.c --- 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 +#endif + #if defined (HAVE_STRING_H) # include #else /* !HAVE_STRING_H */ diff --git a/readline/vi_mode.c b/readline/vi_mode.c --- 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 +#endif + #define READLINE_LIBRARY /* **************************************************************** */ diff --git a/readline/xmalloc.c b/readline/xmalloc.c --- 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 +#endif + #if defined (ALREADY_HAVE_XMALLOC) #else #include