configure: remove some bashisms
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 9 Jun 2010 22:06:55 +0000 (00:06 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 9 Jun 2010 22:09:47 +0000 (00:09 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
configure

index 72d89247e118dedbb16c9e43e56cabeb32c17f2b..8d3084a72fa813ae1422afc8292e0555b4a57aaf 100755 (executable)
--- a/configure
+++ b/configure
@@ -15,7 +15,7 @@ TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.c"
 TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o"
 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() {
   $cc $QEMU_CFLAGS -c -o $TMPO $TMPC > /dev/null 2> /dev/null
@@ -1546,7 +1546,7 @@ EOF
             fi
     else
             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"
             fi
             vhost_net=no