Commit a3a1e0fc53b2789d48e0d94b662ccd3b54694b53

Authored by malc
1 parent a65f56ee

Simplify reconfiguration

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7113 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 45 config-host.mak: configure
46 46 ifneq ($(wildcard config-host.mak),)
47 47 @echo $@ is out-of-date, running configure
48   - @fgrep "Configured with:" $@ | sed s/.*Configured.with:.// | sh
  48 + @sed -n "/.*Configured with/{s/[^:]*: //p;q}" $@ | sh
49 49 endif
50 50  
51 51 SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
... ...