]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: Support empty target list (--target-list=)
authorStefan Weil <sw@weilnetz.de>
Wed, 26 Sep 2012 20:04:38 +0000 (22:04 +0200)
committerStefan Hajnoczi <stefanha@gmail.com>
Fri, 5 Oct 2012 12:00:36 +0000 (14:00 +0200)
commitafb63ebd0a9599312c27ecceb839a399740e00ef
tree576cab232e9c05e818339ca10f1fc6242759168a
parent7a608f562ebd91e811ed0b725e528c894e4f19c4
configure: Support empty target list (--target-list=)

Specifying an empty target list with --target-list= is shorter
than specifying --disable-user --disable-system.

Both variants should give the same result: no targets at all.

This modification implements that feature.

It uses a trick which works with POSIX compliant shells to test whether
target_list is undefined (=> default targets) or empty (=> no targets).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
configure