From 4f889ada561fbdffeefa1a8327d5b8939b021685 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 19 Nov 2003 17:17:56 +0000 Subject: automatically detect if we have a usable version of sed installed. If not, we will now build our own version. --- make/coreutils.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/coreutils.mk') diff --git a/make/coreutils.mk b/make/coreutils.mk index 33cd847e4..825c0f354 100644 --- a/make/coreutils.mk +++ b/make/coreutils.mk @@ -46,10 +46,10 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked ); #Fix up the max number of open files per process, which apparently # is not set when cross compiling - sed -i -e 's,.*UTILS_OPEN_MAX.*,#define UTILS_OPEN_MAX 1019,g' \ + $(SED) 's,.*UTILS_OPEN_MAX.*,#define UTILS_OPEN_MAX 1019,g' \ $(COREUTILS_DIR)/config.h # This is undefined when crosscompiling... - sed -i -e 's,.*HAVE_PROC_UPTIME.*,#define HAVE_PROC_UPTIME 1,g' \ + $(SED) 's,.*HAVE_PROC_UPTIME.*,#define HAVE_PROC_UPTIME 1,g' \ $(COREUTILS_DIR)/config.h touch $(COREUTILS_DIR)/.configured -- cgit v1.2.3