From 900f32c792565fcb7e3c21f68ec9c433d4bc116d Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Thu, 25 May 2000 18:43:18 +0000 Subject: [PATCH] Add -D_BSD_SOURCE to ARCH_DEP_CPPFLAGS. This is needed to get the prototype for gethostname() in unistd.h as needed by cacChannelIO.cpp. Add -DIOCSH_USE_READLINE and -lreadline. --- configure/os/CONFIG.linux-x86.linux-x86 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure/os/CONFIG.linux-x86.linux-x86 b/configure/os/CONFIG.linux-x86.linux-x86 index 5fe4a79d2..1c70343ba 100644 --- a/configure/os/CONFIG.linux-x86.linux-x86 +++ b/configure/os/CONFIG.linux-x86.linux-x86 @@ -29,10 +29,11 @@ AR = ar -rc ARFLAGS = RANLIB = ranlib -t -#ARCH_DEP_CPPFLAGS += -D_BSD_SOURCE +ARCH_DEP_CPPFLAGS += -D_BSD_SOURCE +ARCH_DEP_CPPFLAGS += -DIOCSH_USE_READLINE ARCH_DEP_CPPFLAGS += -D_X86_ -Dlinux ARCH_DEP_LDFLAGS = ###ARCH_DEP_LDLIBS = -ldl -lpthread -ARCH_DEP_LDLIBS = -lpthread +ARCH_DEP_LDLIBS = -lpthread -lreadline