This series substitute "which" use by "type" one. It is similar to Loïc patch, just that I didn't use path_of() because it was used just once.
This addresses commets about using && instead of -a. It also remove the search for "grep" in kvm code. grep is assumed in lots of other places in configure already. Riku: are you going to pick the missing symbols patch (its is for linux-user) or should Anthony pick it? Later, Juan. Juan Quintela (3): substitute all uses of which by type Check for sdl-config before calling it Remove check for grep Loïc Minier (2): Add -static earlier to LDFLAGS for compile_prog() Fix missing symbols in .rel/.rela.plt sections cc: riku.voi...@nokia.com configure | 37 +++++++++++++++++++++++-------------- i386.ld | 16 ++++++++++++++-- x86_64.ld | 16 ++++++++++++++-- 3 files changed, 51 insertions(+), 18 deletions(-)