diff --git a/Makefile b/Makefile index 50b8bb6f5f..76e83ba7ae 100644 --- a/Makefile +++ b/Makefile @@ -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 - @fgrep "Configured with:" $@ | sed s/.*Configured.with:.// | sh + @sed -n "/.*Configured with/{s/[^:]*: //p;q}" $@ | sh endif SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))