configure: remove some bashisms
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
3308759844
commit
4021d2476c
4
configure
vendored
4
configure
vendored
@ -15,7 +15,7 @@ TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.c"
|
|||||||
TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
|
TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
|
||||||
TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.exe"
|
TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.exe"
|
||||||
|
|
||||||
trap "rm -f $TMPC $TMPO $TMPE ; exit" 0 2 3 15
|
trap "rm -f $TMPC $TMPO $TMPE ; exit" EXIT INT QUIT TERM
|
||||||
|
|
||||||
compile_object() {
|
compile_object() {
|
||||||
$cc $QEMU_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
|
$cc $QEMU_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
|
||||||
@ -1546,7 +1546,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if test "$vhost_net" = "yes" ; then
|
if test "$vhost_net" = "yes" ; then
|
||||||
echo -e "NOTE: vhost-net feature requires KVM (--enable-kvm)."
|
echo "NOTE: vhost-net feature requires KVM (--enable-kvm)."
|
||||||
feature_not_found "vhost-net"
|
feature_not_found "vhost-net"
|
||||||
fi
|
fi
|
||||||
vhost_net=no
|
vhost_net=no
|
||||||
|
Loading…
Reference in New Issue
Block a user