From ef7784a62d2ecd681b37aee7040e71bbb34a51cd Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 17 Jan 2003 08:03:59 +0000 Subject: standardize handling of GNU configure scripts -Erik --- make/sed.mk | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'make/sed.mk') diff --git a/make/sed.mk b/make/sed.mk index f62d70d06..a6af02e4a 100644 --- a/make/sed.mk +++ b/make/sed.mk @@ -20,9 +20,21 @@ $(SED_DIR)/.unpacked: $(DL_DIR)/$(SED_SOURCE) touch $(SED_DIR)/.unpacked $(SED_DIR)/.configured: $(SED_DIR)/.unpacked - (cd $(SED_DIR); autoconf; rm -f config.cache; CC=$(TARGET_CC1) \ - CFLAGS=-D_POSIX_SOURCE ./configure --prefix=/usr --disable-nls \ - --mandir=/junk --infodir=/junk \ + (cd $(SED_DIR); rm -rf config.cache; \ + PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --disable-nls \ ); touch $(SED_DIR)/.configured -- cgit v1.2.3