diff --git a/bochs/config.h.in b/bochs/config.h.in index 80a358fbf..09f34d30e 100644 --- a/bochs/config.h.in +++ b/bochs/config.h.in @@ -197,6 +197,7 @@ #define BX_HAVE_GETTIMEOFDAY 0 #define BX_HAVE_REALTIME_USEC (BX_HAVE_GETTIMEOFDAY || defined(WIN32)) #define BX_HAVE_MKSTEMP 0 +#define BX_HAVE_SYS_MMAN_H 0 // This turns on Roland Mainz's idle hack. Presently it is specific to the X11 // gui. If people try to enable it elsewhere, give a compile error after the diff --git a/bochs/configure.in b/bochs/configure.in index 92356036e..befca9c62 100644 --- a/bochs/configure.in +++ b/bochs/configure.in @@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script. AC_PREREQ(2.50) AC_INIT(bochs.h) -AC_REVISION([[$Id: configure.in,v 1.205 2003-05-04 12:57:16 cbothamy Exp $]]) +AC_REVISION([[$Id: configure.in,v 1.206 2003-05-06 20:15:31 cbothamy Exp $]]) AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(ltdlconf.h) @@ -150,6 +150,7 @@ AC_CHECK_TYPE(socklen_t, AC_DEFINE(BX_HAVE_SOCKLEN_T), , [#include AC_CHECK_MEMBER(struct sockaddr_in.sin_len, AC_DEFINE(BX_HAVE_SOCKADDR_IN_SIN_LEN), , [#include #include ]) AC_CHECK_FUNCS(mkstemp, AC_DEFINE(BX_HAVE_MKSTEMP)) +AC_CHECK_HEADER(sys/mman.h, AC_DEFINE(BX_HAVE_SYS_MMAN_H)) dnl As of autoconf 2.53, the standard largefile test fails for Linux/gcc. dnl It does not put the largefiles arguments into CFLAGS, even though Linux/gcc