Commit 052ff921416f6d244b93d6c29865ec39517d7aa7
1 parent
b6f6e3d3
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
Showing
1 changed file
with
1 additions
and
1 deletions
Makefile
@@ -45,7 +45,7 @@ all: $(TOOLS) $(DOCS) recurse-all | @@ -45,7 +45,7 @@ all: $(TOOLS) $(DOCS) recurse-all | ||
45 | config-host.mak: configure | 45 | config-host.mak: configure |
46 | ifneq ($(wildcard config-host.mak),) | 46 | ifneq ($(wildcard config-host.mak),) |
47 | @echo $@ is out-of-date, running configure | 47 | @echo $@ is out-of-date, running configure |
48 | - @sed -n "/.*Configured with/{s/[^:]*: //p;q}" $@ | sh | 48 | + @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh |
49 | endif | 49 | endif |
50 | 50 | ||
51 | SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) | 51 | SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) |