- fixed compilation with large ramfile support present on MSVC

This commit is contained in:
Volker Ruppert 2012-08-26 14:44:06 +00:00
parent fb0e05e36c
commit 53c87a8bee

80
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 11368 2012-08-26 07:17:43Z vruppert .
# From configure.in Id: configure.in 11371 2012-08-26 14:43:14Z vruppert .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68.
#
@ -20809,6 +20809,42 @@ $as_echo "no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
for ac_func in tmpfile64
do :
ac_fn_c_check_func "$LINENO" "tmpfile64" "ac_cv_func_tmpfile64"
if test "x$ac_cv_func_tmpfile64" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_TMPFILE64 1
_ACEOF
$as_echo "#define BX_HAVE_TMPFILE64 1" >>confdefs.h
fi
done
for ac_func in fseek64
do :
ac_fn_c_check_func "$LINENO" "fseek64" "ac_cv_func_fseek64"
if test "x$ac_cv_func_fseek64" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_FSEEK64 1
_ACEOF
$as_echo "#define BX_HAVE_FSEEK64 1" >>confdefs.h
fi
done
for ac_func in fseeko64
do :
ac_fn_c_check_func "$LINENO" "fseeko64" "ac_cv_func_fseeko64"
if test "x$ac_cv_func_fseeko64" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_FSEEKO64 1
_ACEOF
$as_echo "#define BX_HAVE_FSEEKO64 1" >>confdefs.h
fi
done
else
$as_echo "#define BX_HAVE_SELECT 1" >>confdefs.h
@ -20838,6 +20874,12 @@ else
$as_echo "#define BX_HAVE___BUILTIN_BSWAP64 0" >>confdefs.h
$as_echo "#define BX_HAVE_TMPFILE64 0" >>confdefs.h
$as_echo "#define BX_HAVE_FSEEK64 0" >>confdefs.h
$as_echo "#define BX_HAVE_FSEEKO64 0" >>confdefs.h
fi
for ac_func in sleep
do :
@ -20919,42 +20961,6 @@ _ACEOF
fi
done
for ac_func in tmpfile64
do :
ac_fn_c_check_func "$LINENO" "tmpfile64" "ac_cv_func_tmpfile64"
if test "x$ac_cv_func_tmpfile64" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_TMPFILE64 1
_ACEOF
$as_echo "#define BX_HAVE_TMPFILE64 1" >>confdefs.h
fi
done
for ac_func in fseek64
do :
ac_fn_c_check_func "$LINENO" "fseek64" "ac_cv_func_fseek64"
if test "x$ac_cv_func_fseek64" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_FSEEK64 1
_ACEOF
$as_echo "#define BX_HAVE_FSEEK64 1" >>confdefs.h
fi
done
for ac_func in fseeko64
do :
ac_fn_c_check_func "$LINENO" "fseeko64" "ac_cv_func_fseeko64"
if test "x$ac_cv_func_fseeko64" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_FSEEKO64 1
_ACEOF
$as_echo "#define BX_HAVE_FSEEKO64 1" >>confdefs.h
fi
done
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then :