diff options
author | ache <ache@FreeBSD.org> | 1994-05-11 15:49:43 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-05-11 15:49:43 +0000 |
commit | 83dbe6296107e81d1ed3fa1740b32911cc76f69e (patch) | |
tree | 15fb3e0e5ab0a253053fc20461e1c2a75bb8ad1d /gnu | |
parent | b90d5f78ed7754030c330ec9c3b88fc3c0061fb8 (diff) | |
download | FreeBSD-src-83dbe6296107e81d1ed3fa1740b32911cc76f69e.zip FreeBSD-src-83dbe6296107e81d1ed3fa1740b32911cc76f69e.tar.gz |
Add HAVE_VARARGS_H to CFLAGS
Add VISIBLE_STATS to CFLAGS, fix complete.c for successful
compilation with VISIBLE_STATS
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libreadline/Makefile | 6 | ||||
-rw-r--r-- | 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 e8d6f9f..a0d47e6 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 e5dba8d..f3d9711 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 |