Allow specifying host independently of cross-prefix

This is useful when crosscompiling QEMU using Clang.

Change-Id: I170b1017a1068a789a477b0ec2f797eccfd9ec00
diff --git a/configure b/configure
index 9dddba6..fdeb6f6 100755
--- a/configure
+++ b/configure
@@ -291,6 +291,7 @@
 interp_prefix="/usr/gnemul/qemu-%M"
 static="no"
 cross_prefix=""
+host=""
 audio_drv_list=""
 block_drv_rw_whitelist=""
 block_drv_ro_whitelist=""
@@ -526,6 +527,8 @@
   ;;
   --cxx=*) CXX="$optarg"
   ;;
+  --host=*) host="$optarg"
+  ;;
   --cpu=*) cpu="$optarg"
   ;;
   --extra-cflags=*) QEMU_CFLAGS="$QEMU_CFLAGS $optarg"
@@ -997,6 +1000,8 @@
   ;;
   --cross-prefix=*)
   ;;
+  --host=*)
+  ;;
   --cc=*)
   ;;
   --host-cc=*) host_cc="$optarg"
@@ -2991,8 +2996,8 @@
 
     if test -n "$cross_prefix"
     then
-	host=$(libgcrypt-config --host)
-	if test "$host-" != $cross_prefix
+	libgcrypt_host=$(libgcrypt-config --host)
+	if test "$libgcrypt_host-" != $cross_prefix
 	then
 	    return 1
 	fi