From aec37cc797f7336e8b472ba9c248efd11f20878d Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 11 May 1994 15:49:43 +0000 Subject: [PATCH] Add HAVE_VARARGS_H to CFLAGS Add VISIBLE_STATS to CFLAGS, fix complete.c for successful compilation with VISIBLE_STATS --- gnu/lib/libreadline/Makefile | 6 +++--- gnu/lib/libreadline/complete.c | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile index e8d6f9fb4d4..a0d47e6db08 100644 --- a/gnu/lib/libreadline/Makefile +++ b/gnu/lib/libreadline/Makefile @@ -1,11 +1,11 @@ -# $Id: Makefile,v 1.4 1994/05/09 23:23:40 ache Exp $ +# $Id: Makefile,v 1.5 1994/05/11 15:11:01 ache Exp $ SHLIB_MAJOR=1 SHLIB_MINOR=0 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/readline -DVOID_SIGHANDLER \ - -DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_STDLIB_H \ - -DVI_MODE -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp + -DHAVE_UNISTD_H -DHAVE_STRING_H -DHAVE_STDLIB_H -DHAVE_VARARGS_H \ + -DVISIBLE_STATS -DVI_MODE -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp LIB= readline SRCS+= readline.c funmap.c keymaps.c vi_mode.c parens.c \ diff --git a/gnu/lib/libreadline/complete.c b/gnu/lib/libreadline/complete.c index e5dba8daee5..f3d9711bec3 100644 --- a/gnu/lib/libreadline/complete.c +++ b/gnu/lib/libreadline/complete.c @@ -100,8 +100,6 @@ Function *rl_symbolic_link_hook = (Function *)NULL; /* Non-zero means readline completion functions perform tilde expansion. */ int rl_complete_with_tilde_expansion = 0; -#define VISIBLE_STATS - #if defined (VISIBLE_STATS) # if !defined (X_OK) # define X_OK 1