Make the sed script also work with OpenBSD and OpenSolaris seds

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7164 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-04-17 20:01:12 +00:00
parent b6f6e3d3a7
commit 052ff92141

View File

@ -45,7 +45,7 @@ all: $(TOOLS) $(DOCS) recurse-all
config-host.mak: configure
ifneq ($(wildcard config-host.mak),)
@echo $@ is out-of-date, running configure
@sed -n "/.*Configured with/{s/[^:]*: //p;q}" $@ | sh
@sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
endif
SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))