summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-01 21:04:13 +0100
committerStefan Weil <sw@weilnetz.de>2012-02-28 22:33:43 +0100
commitc0fd260e9da7e6e60ea6bf1b0198a804f147073f (patch)
tree925ae4c4e3d0d7224ab91af1d509daa6beb31060 /configure
parent2ad5201c1e3d53fef14af1e9eb629c180b318d89 (diff)
downloadqemu-c0fd260e9da7e6e60ea6bf1b0198a804f147073f.tar.gz
qemu-c0fd260e9da7e6e60ea6bf1b0198a804f147073f.tar.bz2
qemu-c0fd260e9da7e6e60ea6bf1b0198a804f147073f.zip
Move definition of HOST_LONG_BITS to qemu-common.h
Like the related macro TCG_TARGET_LONG, HOST_LONG_BITS can be determined by the C preprocessor. It is also not used in Makefiles. So there is no need to calculate it in configure, and it can be defined in qemu-common.h. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 0 insertions, 12 deletions
diff --git a/configure b/configure
index d9dde969d6..9ae85bec4b 100755
--- a/configure
+++ b/configure
@@ -1291,17 +1291,6 @@ esac
fi
-# host long bits test, actually a pointer size test
-cat > $TMPC << EOF
-int sizeof_pointer_is_8[sizeof(void *) == 8 ? 1 : -1];
-EOF
-if compile_object; then
-hostlongbits=64
-else
-hostlongbits=32
-fi
-
-
##########################################
# NPTL probe
@@ -2988,7 +2977,6 @@ fi
if test "$bigendian" = "yes" ; then
echo "HOST_WORDS_BIGENDIAN=y" >> $config_host_mak
fi
-echo "HOST_LONG_BITS=$hostlongbits" >> $config_host_mak
if test "$mingw32" = "yes" ; then
echo "CONFIG_WIN32=y" >> $config_host_mak
rc_version=`cat $source_path/VERSION`