summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-20 13:23:39 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-20 13:23:39 +0000
commit43003046cba8134bbfa7b405b9fde3bf16bc5478 (patch)
tree95226422accc7af0cfbc8ae4f472e6c6893f9127 /configure
parentd157e205e94931f5870b1b3bf2b1f149a87c5aa7 (diff)
downloadqemu-43003046cba8134bbfa7b405b9fde3bf16bc5478.zip
BSD fix + ppc-softmmu support for win32
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@834 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 055f50ee93..e4ffbac817 100755
--- a/configure
+++ b/configure
@@ -154,7 +154,7 @@ ar="${cross_prefix}${ar}"
strip="${cross_prefix}${strip}"
if test "$mingw32" = "yes" ; then
- target_list="i386-softmmu"
+ target_list="i386-softmmu ppc-softmmu"
EXESUF=".exe"
gdbstub="no"
fi
@@ -417,6 +417,10 @@ echo "SRC_PATH=$source_path" >> $config_mak
echo "TARGET_DIRS=$target_list" >> $config_mak
if [ "$bsd" = "yes" ] ; then
+ echo "#define O_LARGEFILE 0" >> $config_h
+ echo "#define lseek64 lseek" >> $config_h
+ echo "#define ftruncate64 ftruncate" >> $config_h
+ echo "#define MAP_ANONYMOUS MAP_ANON" >> $config_h
echo "#define _BSD 1" >> $config_h
fi